[llvm-commits] [llvm-gcc-4.2] r135235 - in /llvm-gcc-4.2/trunk/gcc: Makefile.in llvm-backend.cpp
Evan Cheng
evan.cheng at apple.com
Thu Jul 14 18:33:28 PDT 2011
Author: evancheng
Date: Thu Jul 14 20:33:28 2011
New Revision: 135235
URL: http://llvm.org/viewvc/llvm-project?rev=135235&view=rev
Log:
Initialize MCAsmInfo.
Modified:
llvm-gcc-4.2/trunk/gcc/Makefile.in
llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Modified: llvm-gcc-4.2/trunk/gcc/Makefile.in
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/Makefile.in?rev=135235&r1=135234&r2=135235&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/Makefile.in (original)
+++ llvm-gcc-4.2/trunk/gcc/Makefile.in Thu Jul 14 20:33:28 2011
@@ -1188,7 +1188,9 @@
## and asm printers actually get linked into libllvmgcc<stage>.dylib.
LLVMTARGETSYMBOLS := \
_LLVMInitializeARMTarget _LLVMInitializeARMAsmPrinter \
+ _LLVMInitializeARMMCAsmInfo \
_LLVMInitializeX86Target _LLVMInitializeX86AsmPrinter \
+ _LLVMInitializeX86MCAsmInfo \
endif
Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp?rev=135235&r1=135234&r2=135235&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Thu Jul 14 20:33:28 2011
@@ -380,6 +380,7 @@
#define Declare(T, M) Declare2(T, M)
Declare(LLVM_TARGET_NAME, TargetInfo);
Declare(LLVM_TARGET_NAME, Target);
+ Declare(LLVM_TARGET_NAME, MCAsmInfo);
Declare(LLVM_TARGET_NAME, AsmPrinter);
#undef Declare
#undef Declare2
@@ -404,6 +405,7 @@
#define DoInit(T, M) DoInit2(T, M)
DoInit(LLVM_TARGET_NAME, TargetInfo);
DoInit(LLVM_TARGET_NAME, Target);
+ DoInit(LLVM_TARGET_NAME, MCAsmInfo);
DoInit(LLVM_TARGET_NAME, AsmPrinter);
#undef DoInit
#undef DoInit2
More information about the llvm-commits
mailing list