aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorMark Harmstone <mark@harmstone.com>2024-06-23 18:17:39 -0600
committerJeff Law <jlaw@ventanamicro.com>2024-06-23 18:18:26 -0600
commit340bca65ce50ccb827a2501273f50da77c7d7349 (patch)
treee2cb3350230cddd91bf81e615abccb21a27e4ce0 /gcc/system.h
parent48e7111be895117f1bd76e8a49f92e8ccf2cab6e (diff)
downloadgcc-340bca65ce50ccb827a2501273f50da77c7d7349.zip
gcc-340bca65ce50ccb827a2501273f50da77c7d7349.tar.gz
gcc-340bca65ce50ccb827a2501273f50da77c7d7349.tar.bz2
[PATCH 02/11] Handle CodeView base types
Adds a get_type_num function to translate type DIEs into CodeView numbers, along with a hash table for this. For now we just deal with the base types (integers, Unicode chars, floats, and bools). gcc/ * dwarf2codeview.cc (struct codeview_type): New structure. (struct die_hasher): Likewise. (types_htab): New variable. (codeview_debug_finish): Free types_htab if allocated. (get_type_num_base_type, get_type_num): New function. (add_variable): Call get_type_num. * dwarf2codeview.h (T_CHAR, T_SHORT, T_LONG, T_QUAD): Define. (T_UCHAR, T_USHORT, T_ULONG, T_UQUAD, T_BOOL08): Likewise. (T_REAL32, T_REAL64, T_REAL80, T_REAL128, T_RCHAR): Likewise. (T_WCHAR, T_INT4, T_UINT4, T_CHAR16, T_CHAR32, T_CHAR8): Likewise.
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions