forked from OSchip/llvm-project
7f02d67fce
The PowerPC part of processRelocationRef currently assumes that external symbols can be identified by checking for SymType == SymbolRef::ST_Unknown. This is actually incorrect in some cases, causing relocation overflows to be mis-detected. The correct check is to test whether Value.SymbolName is null. Includes test case. Note that it is a bit tricky to replicate the exact condition that triggers the bug in a test case. The one included here seems to fail reliably (before the fix) across different operating system versions on Power, but it still makes a few assumptions (called out in the test case comments). Also add ppc64le platform name to the supported list in the lit.local.cfg files for the MCJIT and OrcMCJIT directories, since those tests were currently not run at all. Fixes PR32650. Reviewer: hfinkel Differential Revision: https://reviews.llvm.org/D33402 llvm-svn: 303637 |
||
---|---|---|
.. | ||
Inputs | ||
remote | ||
2002-12-16-ArgTest.ll | ||
2003-01-04-ArgumentBug.ll | ||
2003-01-04-LoopTest.ll | ||
2003-01-04-PhiTest.ll | ||
2003-01-09-SARTest.ll | ||
2003-01-10-FUCOM.ll | ||
2003-01-15-AlignmentTest.ll | ||
2003-05-06-LivenessClobber.ll | ||
2003-05-07-ArgumentTest.ll | ||
2003-05-11-PHIRegAllocBug.ll | ||
2003-06-04-bzip2-bug.ll | ||
2003-06-05-PHIBug.ll | ||
2003-08-15-AllocaAssertion.ll | ||
2003-08-21-EnvironmentTest.ll | ||
2003-08-23-RegisterAllocatePhysReg.ll | ||
2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll | ||
2005-12-02-TailCallBug.ll | ||
2007-12-10-APIntLoadStore.ll | ||
2008-06-05-APInt-OverAShr.ll | ||
2013-04-04-RelocAddend.ll | ||
cross-module-a.ll | ||
cross-module-sm-pic-a.ll | ||
eh-lg-pic.ll | ||
eh.ll | ||
fpbitcast.ll | ||
hello.ll | ||
hello2.ll | ||
lit.local.cfg | ||
load-object-a.ll | ||
multi-module-a.ll | ||
multi-module-eh-a.ll | ||
multi-module-sm-pic-a.ll | ||
non-extern-addend.ll | ||
pr13727.ll | ||
pr32650.ll | ||
simplesttest.ll | ||
simpletest.ll | ||
stubs-sm-pic.ll | ||
stubs.ll | ||
test-arith.ll | ||
test-branch.ll | ||
test-call-no-external-funcs.ll | ||
test-call.ll | ||
test-cast.ll | ||
test-common-symbols-alignment.ll | ||
test-common-symbols.ll | ||
test-constantexpr.ll | ||
test-data-align.ll | ||
test-fp-no-external-funcs.ll | ||
test-fp.ll | ||
test-global-ctors.ll | ||
test-global-init-nonzero-sm-pic.ll | ||
test-global-init-nonzero.ll | ||
test-global.ll | ||
test-loadstore.ll | ||
test-local.ll | ||
test-logical.ll | ||
test-loop.ll | ||
test-phi.ll | ||
test-ptr-reloc-sm-pic.ll | ||
test-ptr-reloc.ll | ||
test-ret.ll | ||
test-return.ll | ||
test-setcond-fp.ll | ||
test-setcond-int.ll | ||
test-shift.ll | ||
weak-function.ll |