[llvm-commits] [llvm] r165790 - /llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp

NAKAMURA Takumi geek4civic at gmail.com
Fri Oct 12 01:09:30 PDT 2012


Author: chapuni
Date: Fri Oct 12 03:09:29 2012
New Revision: 165790

URL: http://llvm.org/viewvc/llvm-project?rev=165790&view=rev
Log:
JITTest.cpp: Use LLVM_ATTRIBUTE_USED, rather than __attribute__ directly!

Modified:
    llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp

Modified: llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp?rev=165790&r1=165789&r2=165790&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp (original)
+++ llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp Fri Oct 12 03:09:29 2012
@@ -633,7 +633,7 @@
 // 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;
 }





More information about the llvm-commits mailing list