Comments (5)
This is not required with (I believe) lldb-3.9, as it can infer this information automatically with LLDB's APIs.
from llnode.
cc @hhellyer
from llnode.
Correct, llnode uses lldb::SBProcess::GetMemoryRegions()
when available.
from llnode.
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.
You need to build against at least a 3.9 level of lldb with the 3.9 headers. Installing via the npm installer on Linux should get that right.
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.
from llnode.
Wow, great, thanks! I've updated my (makeshift) docs, and will close this ticket.
from llnode.
Related Issues (20)
- llnode failed to install HOT 12
- Not showing details of JS frames on node v16.14.0 HOT 6
- ptrace: No such process. HOT 2
- Document User Journey HOT 11
- core dump collaboration call HOT 27
- Supported Features Matrix HOT 1
- Reinstate 19 Nightly Build HOT 1
- Apply env variables to test timeouts consistently
- 'v8 findjsobjects' command is failing with below the stack trace - need help HOT 4
- discussion: Re-establish automation to detect breaking changes HOT 2
- refactor: use `debug_helper`
- tests: Fix flaky JSArrayBuffer test HOT 3
- bug(print-source): libc++abi: terminating with uncaught exception
- no coverage for "v8 nodeinfo" HOT 4
- [question] emtpy result when read core file HOT 2
- cannot load core file HOT 1
- Consistent crashes with `v8 findrefs -s` HOT 1
- Unable to load LLDB with LLNODE plugin HOT 2
- [Question] examining coredumps on Mac x86 HOT 1
- [Question] Is there any way to get the size (shallow or retained) of a specific object?
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 llnode.