diff options
author | Mark Harmstone <mark@harmstone.com> | 2022-12-26 20:47:50 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-12-31 19:26:23 +1030 |
commit | 5c9e42e0e9a8f881f8e1ac6b1133de148b26bb30 (patch) | |
tree | e185805171b73c0d60beb656ebcf05717e4f70bb /ld/pdb.h | |
parent | fdf591c4c6d065d29461e7966809e97bcaea7e8b (diff) | |
download | gdb-5c9e42e0e9a8f881f8e1ac6b1133de148b26bb30.zip gdb-5c9e42e0e9a8f881f8e1ac6b1133de148b26bb30.tar.gz gdb-5c9e42e0e9a8f881f8e1ac6b1133de148b26bb30.tar.bz2 |
ld: Handle LF_VFTABLE types in PDBs
Diffstat (limited to 'ld/pdb.h')
-rw-r--r-- | ld/pdb.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -54,6 +54,7 @@ #define LF_METHOD 0x150f #define LF_NESTTYPE 0x1510 #define LF_ONEMETHOD 0x1511 +#define LF_VFTABLE 0x151d #define LF_FUNC_ID 0x1601 #define LF_MFUNC_ID 0x1602 #define LF_BUILDINFO 0x1603 @@ -578,6 +579,18 @@ struct lf_udt_mod_src_line uint16_t module_no; } ATTRIBUTE_PACKED; +/* lfVftable in cvinfo.h */ +struct lf_vftable +{ + uint16_t size; + uint16_t kind; + uint32_t type; + uint32_t base_vftable; + uint32_t offset; + uint32_t names_len; + char names[]; +} ATTRIBUTE_PACKED; + /* DATASYM32 in cvinfo.h */ struct datasym { |