Displaying 1 result from an estimated 1 matches for "__debug_info_end".
2018 Dec 03
2
workaround to force LLD to make dwarf info sections mappable/loadable?
Context: https://bugs.llvm.org/show_bug.cgi?id=39862
I'm trying to enable stack traces in an OS kernel. To do that the kernel
needs access to its own debug info. I have this in my linker script:
.debug_info : {
__debug_info_start = .;
KEEP(*(.debug_info))
__debug_info_end = .;
}
.debug_abbrev : {
__debug_abbrev_start = .;
KEEP(*(.debug_abbrev))
__debug_abbrev_end = .;
}
.debug_str : {
__debug_str_start = .;
KEEP(*(.debug_str))
__debug_str_end = .;
}
.debug_line : {
__debug_line_start = ....