llvm.org GIT mirror llvm / 80668fb
Marked this variable as 'used' so that LTO doesn't get rid of it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166092 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
605605 // program from the IR input to the JIT to assert that the JIT doesn't use its
606606 // definition.
607607 extern "C" int32_t JITTest_AvailableExternallyGlobal;
608 int32_t JITTest_AvailableExternallyGlobal = 42;
608 int32_t JITTest_AvailableExternallyGlobal LLVM_ATTRIBUTE_USED = 42;
609609 namespace {
610610
611611 // Tests on ARM disabled as we're running the old jit