[llvm-branch-commits] [llvm-gcc-branch] r100820 - /llvm-gcc-4.2/branches/Apple/Morbo/gcc/llvm-debug.cpp
Devang Patel
dpatel at apple.com
Thu Apr 8 15:23:59 PDT 2010
Author: dpatel
Date: Thu Apr 8 17:23:59 2010
New Revision: 100820
URL: http://llvm.org/viewvc/llvm-project?rev=100820&view=rev
Log:
Enable local variable debug info at -O1+.
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=100820&r1=100819&r2=100820&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 17:23:59 2010
@@ -445,10 +445,6 @@
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