summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-10-12 08:09:29 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-10-12 08:09:29 +0000
commit2d1bd7cca7aea0272b0fc7ed59c82471e2e5ede6 (patch)
treef03600ae5c1a9147074b071bac9ceed100b1409d /llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
parentff639688e35179630e9ab1b04b3d46ec26f99ce7 (diff)
downloadbcm5719-llvm-2d1bd7cca7aea0272b0fc7ed59c82471e2e5ede6.tar.gz
bcm5719-llvm-2d1bd7cca7aea0272b0fc7ed59c82471e2e5ede6.zip
JITTest.cpp: Use LLVM_ATTRIBUTE_USED, rather than __attribute__ directly!
llvm-svn: 165790
Diffstat (limited to 'llvm/unittests/ExecutionEngine/JIT/JITTest.cpp')
-rw-r--r--llvm/unittests/ExecutionEngine/JIT/JITTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
index 44ea2130166..ae6855e68bf 100644
--- a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
+++ b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
@@ -633,7 +633,7 @@ TEST_F(JITTest, AvailableExternallyGlobalIsntEmitted) {
// This function is intentionally defined differently in the statically-compiled
// program from the IR input to the JIT to assert that the JIT doesn't use its
// definition.
-extern "C" int32_t JITTest_AvailableExternallyFunction() __attribute__((used));
+extern "C" int32_t JITTest_AvailableExternallyFunction() LLVM_ATTRIBUTE_USED;
extern "C" int32_t JITTest_AvailableExternallyFunction() {
return 42;
}
OpenPOWER on IntegriCloud