aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-tapi-diff/DiffEngine.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-06-24 10:06:17 -0700
committerFangrui Song <i@maskray.me>2023-06-24 10:06:17 -0700
commite28b3ea52aa68114ad9862ba2609042556d713ae (patch)
tree24ab9da8da5738da096428430afaf66b42b70468 /llvm/tools/llvm-tapi-diff/DiffEngine.cpp
parentf042890521f314cfd0bb0a3b8399d2c7d1bd526b (diff)
downloadllvm-e28b3ea52aa68114ad9862ba2609042556d713ae.zip
llvm-e28b3ea52aa68114ad9862ba2609042556d713ae.tar.gz
llvm-e28b3ea52aa68114ad9862ba2609042556d713ae.tar.bz2
[DWARF] Adjust warning condition for .dwo sections with relocations
D106624 added a .dwo warning (when there are relocations) that may fire for non-debug sections, e.g. `.rodata.dwo` when there is a data symbol foo in -fdata-sections mode. Adjust it to only warn for .debug sections. While here, change the diagnostic to be more conventional https://llvm.org/docs/CodingStandards.html#error-and-warning-messages and use the relocated section name instead of the relocation section name. This change does not handle `.zdebug` (support was mostly removed from LLVM) or `__debug` (Mach-O, no DWO support). Reviewed By: ayermolo, HaohaiWen Differential Revision: https://reviews.llvm.org/D153602
Diffstat (limited to 'llvm/tools/llvm-tapi-diff/DiffEngine.cpp')
0 files changed, 0 insertions, 0 deletions