projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40617f5
)
Marked this variable as 'used' so that LTO doesn't get rid of it.
author
Bill Wendling
<isanbard@gmail.com>
Wed, 17 Oct 2012 08:08:06 +0000
(08:08 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 17 Oct 2012 08:08:06 +0000
(08:08 +0000)
llvm-svn: 166092
llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
patch
|
blob
|
history
diff --git
a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
index
ae6855e
..
6933091
100644
(file)
--- a/
llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
+++ b/
llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
@@
-606,7
+606,7
@@
TEST_F(JITTest, FunctionIsRecompiledAndRelinked) {
// program from the IR input to the JIT to assert that the JIT doesn't use its
// definition.
extern "C" int32_t JITTest_AvailableExternallyGlobal;
-int32_t JITTest_AvailableExternallyGlobal = 42;
+int32_t JITTest_AvailableExternallyGlobal
LLVM_ATTRIBUTE_USED
= 42;
namespace {
// Tests on ARM disabled as we're running the old jit