aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2022-04-18 23:24:46 -0700
committerShoaib Meenai <smeenai@fb.com>2022-04-20 10:46:04 -0700
commit610a0e8b5368853b0e67b16812c0fb61d8900356 (patch)
treef6d9c27d6e1974f65bbecc676e758ac052ddd2ca /clang/lib/Lex/ModuleMap.cpp
parente5f025dad932591b2a9d5394da8c901acdff0346 (diff)
downloadllvm-610a0e8b5368853b0e67b16812c0fb61d8900356.zip
llvm-610a0e8b5368853b0e67b16812c0fb61d8900356.tar.gz
llvm-610a0e8b5368853b0e67b16812c0fb61d8900356.tar.bz2
[ELF] Assert on invalid GOT or PLT relocations
Because of https://llvm.org/PR50675, we can end up producing a PLT relocation referencing a symbol that's dropped from the dynamic symbol table, which in turn causes a crash at runtime. We ran into this again recently, resulting in crashes for our users. A subsequent diff will fix that issue, but add an assert to catch it if it happens again. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D123985
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions