image lookup -a doesn't work because the compilands list is always empty.
Create CU at given index if doesn't exit.
Details
Details
- Reviewers
labath jdoerfert - Commits
- rGf17404a733c1: [LLDB][NativePDB] Fix image lookup by address
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/test/Shell/SymbolFile/NativePDB/lookup-by-address.cpp | ||
---|---|---|
9 | These fancy shell operations don't usually work on windows (which is pretty unfortunate, given this is a windows format). Since the test executable will literally contain just the main function, maybe we could just pass a /base:BASE argument to the linker, and rely on the fact that the linker will place the function at BASE+0x1000 ? |
lldb/test/Shell/SymbolFile/NativePDB/lookup-by-address.cpp | ||
---|---|---|
12 |
These fancy shell operations don't usually work on windows (which is pretty unfortunate, given this is a windows format).
Since the test executable will literally contain just the main function, maybe we could just pass a /base:BASE argument to the linker, and rely on the fact that the linker will place the function at BASE+0x1000 ?