[ELF] Mention section name for STT_SECTION in reportRangeError()
D73518 mentioned non-STT_SECTION symbol names. This patch extends the code to handle STT_SECTION symbols, where we report the section name. This change helps at least the following cases with very little code. * Whether a out-of-range relocation is due to code or data. * For a relocation in .debug_info, which referenced `.debug_*` section (due to DWARF32 limitation) causes the problem. Reviewed By: peter.smith Differential Revision: https://reviews.llvm.org/D145199
Loading
Please register or sign in to comment