aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-01-12 00:07:28 -0800
committerFangrui Song <i@maskray.me>2021-01-12 00:07:28 -0800
commit93ad0edf674125f19177054d8331a5e8910d3d98 (patch)
tree086816769e49eba719b943d90822c2efeaea2304 /clang/lib/Frontend/CompilerInvocation.cpp
parentdf74c001fa5bd4874d0d88724e6cf726ed552904 (diff)
downloadllvm-93ad0edf674125f19177054d8331a5e8910d3d98.zip
llvm-93ad0edf674125f19177054d8331a5e8910d3d98.tar.gz
llvm-93ad0edf674125f19177054d8331a5e8910d3d98.tar.bz2
[ELF] Drop .rel[a].debug_gnu_pub{names,types} for --gdb-index --emit-relocs
Fixes PR48693: --emit-relocs keeps relocation sections. --gdb-index drops .debug_gnu_pubnames and .debug_gnu_pubtypes but not their relocation sections. This can cause a null pointer dereference in `getOutputSectionName`. Also delete debug-gnu-pubnames.s which is covered by gdb-index.s Reviewed By: grimar Differential Revision: https://reviews.llvm.org/D94354
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions