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
27 lines
388 B
Plaintext
27 lines
388 B
Plaintext
image dump line-table a.cpp -v
|
|
|
|
b a.h:5
|
|
b a.h:6
|
|
b a.h:7
|
|
b a.h:8
|
|
b a.h:9
|
|
b b.h:5
|
|
b b.h:6
|
|
b b.h:7
|
|
b c.h:5
|
|
b c.h:6
|
|
b c.h:7
|
|
b a.cpp:3
|
|
b a.cpp:4
|
|
|
|
image lookup -a 0x140001003 -v
|
|
image lookup -a 0x140001004 -v
|
|
image lookup -a 0x140001010 -v
|
|
image lookup -a 0x14000101c -v
|
|
image lookup -a 0x14000102a -v
|
|
image lookup -a 0x140001039 -v
|
|
image lookup -a 0x140001044 -v
|
|
|
|
target modules dump ast
|
|
|
|
quit |