[llvm-commits] [llvm-gcc-4.2] r130590 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Rafael Espindola
rafael.espindola at gmail.com
Fri Apr 29 21:06:34 PDT 2011
Author: rafael
Date: Fri Apr 29 23:06:34 2011
New Revision: 130590
URL: http://llvm.org/viewvc/llvm-project?rev=130590&view=rev
Log:
Don't use the CFI directives in llvm-gcc.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
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=130590&r1=130589&r2=130590&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Fri Apr 29 23:06:34 2011
@@ -551,6 +551,7 @@
TheTarget = TME->createTargetMachine(TargetTriple, FeatureStr);
TheTarget->setMCUseLoc(false);
+ TheTarget->setMCUseCFI(false);
assert(TheTarget->getTargetData()->isBigEndian() == BYTES_BIG_ENDIAN);
TheFolder = new TargetFolder(TheTarget->getTargetData());
More information about the llvm-commits
mailing list