mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-22 17:23:06 +00:00
libdrgn: debug_info: save .debug_loc
.debug_loc will be used for variable resolution. Signed-off-by: Omar Sandoval <osandov@osandov.com>
This commit is contained in:
parent
e105be6c18
commit
d5b68455b8
@ -105,6 +105,7 @@ static const char * const drgn_debug_scn_names[] = {
|
||||
[DRGN_SCN_EH_FRAME] = ".eh_frame",
|
||||
[DRGN_SCN_ORC_UNWIND_IP] = ".orc_unwind_ip",
|
||||
[DRGN_SCN_ORC_UNWIND] = ".orc_unwind",
|
||||
[DRGN_SCN_DEBUG_LOC] = ".debug_loc",
|
||||
[DRGN_SCN_TEXT] = ".text",
|
||||
[DRGN_SCN_GOT] = ".got",
|
||||
};
|
||||
|
@ -64,6 +64,7 @@ enum drgn_debug_info_scn {
|
||||
DRGN_SCN_EH_FRAME,
|
||||
DRGN_SCN_ORC_UNWIND_IP,
|
||||
DRGN_SCN_ORC_UNWIND,
|
||||
DRGN_SCN_DEBUG_LOC,
|
||||
|
||||
DRGN_NUM_DEBUG_SCN_DATA,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user