[all-commits] [llvm/llvm-project] ef7cba: [LLDB][NativePDB] Fix inline line info in line table
Zequan Wu via All-commits
all-commits at lists.llvm.org
Thu Apr 14 11:01:09 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef7cba71486df8d6905000f932805774f1cbcc46
https://github.com/llvm/llvm-project/commit/ef7cba71486df8d6905000f932805774f1cbcc46
Author: Zequan Wu <zequanwu at google.com>
Date: 2022-04-14 (Thu, 14 Apr 2022)
Changed paths:
M lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
M lldb/test/Shell/SymbolFile/NativePDB/Inputs/inline_sites.lldbinit
M lldb/test/Shell/SymbolFile/NativePDB/Inputs/inline_sites.s
M lldb/test/Shell/SymbolFile/NativePDB/inline_sites.test
Log Message:
-----------
[LLDB][NativePDB] Fix inline line info in line table
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`.
Reviewed By: labath
Differential Revision: https://reviews.llvm.org/D123092
More information about the All-commits
mailing list