[Lldb-commits] [PATCH] D123092: [LLDB][NativePDB] Fix inline line info in line table
Zequan Wu via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 4 15:21:29 PDT 2022
zequanwu created this revision.
Herald added a project: All.
zequanwu requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
It fixes the following case:
0602 line 1 (+1)
0315 code 0x15 (+0x15)
0B2B code 0x20 (+0xB) line 2 (+1)
0602 line 3 (+1)
0311 code 0x31 (+0x11)
...
Inline ranges should have following mapping:
`[0x15, 0x20) -> line 1`
`[0x20, 0x31) -> line 2`
Inline line entries:
`0x15, line 1`, `0x20, line 2`, `0x31, line 3`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D123092
Files:
lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
lldb/test/Shell/SymbolFile/NativePDB/Inputs/inline_sites_live.lldbinit
lldb/test/Shell/SymbolFile/NativePDB/inline_sites_live.cpp
STAMPS
actor(@zequanwu) application(Differential) author(@zequanwu) herald(H343) herald(H425) herald(H576) herald(H864) monogram(D123092) object-type(DREV) phid(PHID-DREV-7wvqlerpq324xpa26viv) revision-repository(rG) revision-status(needs-review) subscriber(@lldb-commits) tag(#all) tag(#lldb) via(conduit)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123092.420331.patch
Type: text/x-patch
Size: 5958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220404/afbd4a5a/attachment.bin>
More information about the lldb-commits
mailing list