aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
diff options
context:
space:
mode:
authorSterling Augustine <saugustine@google.com>2018-09-04 21:06:59 +0000
committerSterling Augustine <saugustine@google.com>2018-09-04 21:06:59 +0000
commitb55236f522713916252f3425b388a0dacd20c355 (patch)
treebe49f39236cd0a0b185f4e92357f87d125cb556d /llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
parent31d2e5e546c9b3ad6cbcccbe40d2b6bf582a854b (diff)
downloadllvm-b55236f522713916252f3425b388a0dacd20c355.zip
llvm-b55236f522713916252f3425b388a0dacd20c355.tar.gz
llvm-b55236f522713916252f3425b388a0dacd20c355.tar.bz2
When a relocation to an undefined symbol is an R_X86_64_PC32, an input
section will not have an input file. Don't crash under those circumstances. Neither clang nor llvm-mc generates R_X86_64_PC32 relocations due to https://reviews.llvm.org/D43383, which makes it hard to write a test case. However, gcc does generate such relocations. I want to get a fix in now, but will figure out a way to actually exercise this code path as soon as I can. llvm-svn: 341408
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp')
0 files changed, 0 insertions, 0 deletions