]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ld/pdb: Handle DEBUG_S_INLINEELINES data
authorMark Harmstone <mark@harmstone.com>
Tue, 10 Sep 2024 00:21:21 +0000 (01:21 +0100)
committerMark Harmstone <mark@harmstone.com>
Tue, 24 Sep 2024 01:33:08 +0000 (02:33 +0100)
commit909fcd9bc8f7ddff92b284c58c50391ae7ea1fc2
tree700efa1dc8740526bc796ae05197a86fcdf089fb
parent05ff7a4dfec5a13705a05a6ec481378102abc6c1
ld/pdb: Handle DEBUG_S_INLINEELINES data

The DEBUG_S_INLINEELINES block in the .debug$S section records the line
numbers in a source file covered by inlined functions. It's similar to
the DEBUG_S_LINES block, but as it references LF_FUNC_ID types we also
need to parse it to remap the type numbers.
ld/pdb.c
ld/pdb.h
ld/testsuite/ld-pe/pdb-inlineelines1-c13-info2.d [new file with mode: 0644]
ld/testsuite/ld-pe/pdb-inlineelines1a.s [new file with mode: 0644]
ld/testsuite/ld-pe/pdb-inlineelines1b.s [new file with mode: 0644]
ld/testsuite/ld-pe/pdb.exp