[llvm-branch-commits] [llvm-gcc-branch] r100847 - /llvm-gcc-4.2/branches/Apple/Morbo/gcc/llvm-debug.cpp
Devang Patel
dpatel at apple.com
Thu Apr 8 20:25:09 PDT 2010
Author: dpatel
Date: Thu Apr 8 22:25:09 2010
New Revision: 100847
URL: http://llvm.org/viewvc/llvm-project?rev=100847&view=rev
Log:
Revert r100820.
Modified:
llvm-gcc-4.2/branches/Apple/Morbo/gcc/llvm-debug.cpp
Modified: llvm-gcc-4.2/branches/Apple/Morbo/gcc/llvm-debug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Morbo/gcc/llvm-debug.cpp?rev=100847&r1=100846&r2=100847&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Morbo/gcc/llvm-debug.cpp (original)
+++ llvm-gcc-4.2/branches/Apple/Morbo/gcc/llvm-debug.cpp Thu Apr 8 22:25:09 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-branch-commits
mailing list