-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
automatic LLNODE_RANGESFILE #91
Comments
|
This is not required with (I believe) lldb-3.9, as it can infer this information automatically with LLDB's APIs. |
|
cc @hhellyer |
|
Correct, llnode uses |
|
I added the memory region API to lldb a while ago: https://reviews.llvm.org/D20565, I think it was released in lldb 3.9. On Mac it's more complicated as Apple change the version numbers so it's hard to map the version numbers of lldb across but I have confirmed the latest lldb in Xcode has that API and updated the installation script: #79 You can tell if it's enabled and you've built against the right headers as the #ifdef at: https://github.com/nodejs/llnode/blob/master/src/llnode.cc#L316 ensures the help text explaining to use the LLNODE_RANGESFILE env var is only printed if you need to set it. |
|
Wow, great, thanks! I've updated my (makeshift) docs, and will close this ticket. |
Currently we do this for v8 findjsobjects to work:
It might be nice if llnode could do this automatically, even if it means llnode shelling out to call readelf and scraping the output (if that's possible in lldb).
The text was updated successfully, but these errors were encountered: