Comments (5)
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.
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.
@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.
[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.
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)
- Advice about array sizes could be misleading HOT 7
- V8 releases compatibility table HOT 1
- Dominators view was removed?
- How do we provide line by line discussion HOT 1
- Representation of int64 within JS HOT 10
- Tools and resources regarding Node.js and Performance Tools Integration HOT 19
- Add info about creating and interpreting chrome://tracing results
- Collecting more related Resources to review
- Add info about memory profiling HOT 3
- Resources related to the Devtools/Chromium/v8 Debugger/Profiler ... HOT 1
- v8 turbo fan and other resources to latest v8 changes/improvements
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v8-perf.