diff options
author | Fangrui Song <i@maskray.me> | 2023-03-03 12:35:05 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2023-03-03 12:35:05 -0800 |
commit | ffa11183303289654d26b8f761dcf54e611058ca (patch) | |
tree | 78d173ddbcf914ae59180cb15d5b8aa8f598cb66 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
parent | 3a748cd01bbf4229b4a6bda208c8b33e96dfba6e (diff) | |
download | llvm-ffa11183303289654d26b8f761dcf54e611058ca.zip llvm-ffa11183303289654d26b8f761dcf54e611058ca.tar.gz llvm-ffa11183303289654d26b8f761dcf54e611058ca.tar.bz2 |
[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
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions