aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-03-28 16:23:13 -0700
committerFangrui Song <i@maskray.me>2022-03-28 16:23:13 -0700
commit6faba31e0d88ce71e87567ddb51d2444524b8a81 (patch)
treec2b6de83198d69fda902d216190c83f8c1a3f471 /clang/lib/Frontend/CompilerInvocation.cpp
parentf7381a795ab235d34c94eaf01dc880eb5b89619d (diff)
downloadllvm-6faba31e0d88ce71e87567ddb51d2444524b8a81.zip
llvm-6faba31e0d88ce71e87567ddb51d2444524b8a81.tar.gz
llvm-6faba31e0d88ce71e87567ddb51d2444524b8a81.tar.bz2
[ELF] --emit-relocs: adjust offsets of .rel[a].eh_frame relocations
.eh_frame pieces may be dropped due to GC/ICF. When --emit-relocs adds relocations against .eh_frame, the offsets need to be adjusted. Use the same way as MergeInputSection with a special case handling outSecOff==-1 for an invalid piece (see eh-frame-marker.s). This exposes an issue in mips64-eh-abs-reloc.s that we don't reliably handle anyway. Just add --no-check-dynamic-relocations to paper over it. Original patch by Ayrton Muñoz Differential Revision: https://reviews.llvm.org/D122459
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions