aboutsummaryrefslogtreecommitdiff
path: root/ld/pdb.h
diff options
context:
space:
mode:
authorMark Harmstone <mark@harmstone.com>2024-09-10 01:21:21 +0100
committerMark Harmstone <mark@harmstone.com>2024-09-24 02:33:08 +0100
commit909fcd9bc8f7ddff92b284c58c50391ae7ea1fc2 (patch)
tree700efa1dc8740526bc796ae05197a86fcdf089fb /ld/pdb.h
parent05ff7a4dfec5a13705a05a6ec481378102abc6c1 (diff)
downloadfsf-binutils-gdb-909fcd9bc8f7ddff92b284c58c50391ae7ea1fc2.zip
fsf-binutils-gdb-909fcd9bc8f7ddff92b284c58c50391ae7ea1fc2.tar.gz
fsf-binutils-gdb-909fcd9bc8f7ddff92b284c58c50391ae7ea1fc2.tar.bz2
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.
Diffstat (limited to 'ld/pdb.h')
-rw-r--r--ld/pdb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/pdb.h b/ld/pdb.h
index a9b518a..06a58bb 100644
--- a/ld/pdb.h
+++ b/ld/pdb.h
@@ -241,10 +241,13 @@ struct optional_dbg_header
#define DEBUG_S_LINES 0xf2
#define DEBUG_S_STRINGTABLE 0xf3
#define DEBUG_S_FILECHKSMS 0xf4
+#define DEBUG_S_INLINEELINES 0xf6
#define STRING_TABLE_SIGNATURE 0xeffeeffe
#define STRING_TABLE_VERSION 1
+#define CV_INLINEE_SOURCE_LINE_SIGNATURE 0
+
/* VHdr in nmt.h */
struct string_table_header
{