[llvm-commits] [llvm] r165780 - /llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Thu Oct 11 18:34:08 PDT 2012
Author: chapuni
Date: Thu Oct 11 20:34:07 2012
New Revision: 165780
URL: http://llvm.org/viewvc/llvm-project?rev=165780&view=rev
Log:
Revert r165777, "Mark function as 'used' so that LTO doesn't try to get rid of it."
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=165780&r1=165779&r2=165780&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp (original)
+++ llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp Thu Oct 11 20:34:07 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() {
return 42;
}
namespace {
More information about the llvm-commits
mailing list