[llvm-commits] [llvm-gcc-4.2] r100829 - /llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Devang Patel
dpatel at apple.com
Thu Apr 8 17:06:06 PDT 2010
Author: dpatel
Date: Thu Apr 8 19:06:06 2010
New Revision: 100829
URL: http://llvm.org/viewvc/llvm-project?rev=100829&view=rev
Log:
Revert 100826. This have have caused bootstrap failure on llvm-gcc-i386-darwin9.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp?rev=100829&r1=100828&r2=100829&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp Thu Apr 8 19:06:06 2010
@@ -445,6 +445,10 @@
void DebugInfo::EmitDeclare(tree decl, unsigned Tag, const char *Name,
tree type, Value *AI, LLVMBuilder &Builder) {
+ // Do not emit variable declaration info, for now.
+ if (optimize)
+ return;
+
// Ignore compiler generated temporaries.
if (DECL_IGNORED_P(decl))
return;
More information about the llvm-commits
mailing list