[llvm-commits] [gcc-plugin] r76412 - /gcc-plugin/trunk/llvm-backend.cpp
Duncan Sands
baldrick at free.fr
Mon Jul 20 01:40:16 PDT 2009
Author: baldrick
Date: Mon Jul 20 03:40:10 2009
New Revision: 76412
URL: http://llvm.org/viewvc/llvm-project?rev=76412&view=rev
Log:
For the moment, all target stuff is completely
broken in the plugin.
Modified:
gcc-plugin/trunk/llvm-backend.cpp
Modified: gcc-plugin/trunk/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-backend.cpp?rev=76412&r1=76411&r2=76412&view=diff
==============================================================================
--- gcc-plugin/trunk/llvm-backend.cpp (original)
+++ gcc-plugin/trunk/llvm-backend.cpp Mon Jul 20 03:40:10 2009
@@ -340,19 +340,19 @@
}
}
-#ifndef LLVM_TARGET_NAME
-#error LLVM_TARGET_NAME macro not specified by GCC backend
-#endif
-
-namespace llvm {
-#define Declare2(TARG, MOD) extern "C" void LLVMInitialize ## TARG ## MOD()
-#define Declare(T, M) Declare2(T, M)
- Declare(LLVM_TARGET_NAME, TargetInfo);
- Declare(LLVM_TARGET_NAME, Target);
- Declare(LLVM_TARGET_NAME, AsmPrinter);
-#undef Declare
-#undef Declare2
-}
+//TODO#ifndef LLVM_TARGET_NAME
+//TODO#error LLVM_TARGET_NAME macro not specified by GCC backend
+//TODO#endif
+//TODO
+//TODOnamespace llvm {
+//TODO#define Declare2(TARG, MOD) extern "C" void LLVMInitialize ## TARG ## MOD()
+//TODO#define Declare(T, M) Declare2(T, M)
+//TODO Declare(LLVM_TARGET_NAME, TargetInfo);
+//TODO Declare(LLVM_TARGET_NAME, Target);
+//TODO Declare(LLVM_TARGET_NAME, AsmPrinter);
+//TODO#undef Declare
+//TODO#undef Declare2
+//TODO}
/// LazilyConfigureLLVM - Set LLVM configuration options, if not already set.
/// already created.
More information about the llvm-commits
mailing list