[llvm-commits] [llvm-gcc-4.2] r100826 - /llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Devang Patel
dpatel at apple.com
Thu Apr 8 16:11:59 PDT 2010
Author: dpatel
Date: Thu Apr 8 18:11:59 2010
New Revision: 100826
URL: http://llvm.org/viewvc/llvm-project?rev=100826&view=rev
Log:
Enable local variable debug info at -O1+.
We have made enough progress to start widespread testing (or cause widespread brekage!).
- Quality of debugging at -O1+ is still a work in progress.
- Higher priority is given to bugs that negatively impact quality of generated code in presense of debug info.
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=100826&r1=100825&r2=100826&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp Thu Apr 8 18:11: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-commits
mailing list