GithubHelp home page GithubHelp logo

Comments (5)

mraleph avatar mraleph commented on September 1, 2024

If at the same V8 version you have line info on Linux and not on Mac OS X that probably means Mach-O is potentially malformed. I'd just throw some printf's into https://github.com/v8/v8-git-mirror/blob/master/src/gdb-jit.cc#L1791and see if it tries to generate it at all. Then see what it generates and what it registers.

There is also FLAG_gdbjit_dump (in DEBUG build) that would force V8 to dump all object files it generates in memory (to verify that they reach LLDB untruncated)

from v8-perf.

thlorenz avatar thlorenz commented on September 1, 2024

I did try FLAG_gdbjit_dump which resulted in lots of elfs in my /tmp folder.
I wasn't sure what to do with those since after all I'm on OSX. Dumping symbols out of them lead to nothing useful.

I'll try to look at more details by logging inside gdb-jit.cc, thanks.

from v8-perf.

mraleph avatar mraleph commented on September 1, 2024

@thlorenz I doubt they are elf's, they are just called this way. I suggest dumping them just to check the size it should match the size you are seeing in the LLDB.

from v8-perf.

mraleph avatar mraleph commented on September 1, 2024

[if they actually are elf's and not MachO that means V8 does not understand it needs to generate Mach-O files]

from v8-perf.

thlorenz avatar thlorenz commented on September 1, 2024

Ok, makes sense, as i said I was able to dwarfdump them, so most likely not really elfs.
However as I mentioned no useful info was contained in them.

I'll dig more in that direction and possibly attach some generated object files somewhere to figure this out.

from v8-perf.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.