[llvm-commits] [llvm-gcc-4.2] r70629 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Bill Wendling
isanbard at gmail.com
Sat May 2 00:46:14 PDT 2009
Author: void
Date: Sat May 2 02:46:13 2009
New Revision: 70629
URL: http://llvm.org/viewvc/llvm-project?rev=70629&view=rev
Log:
Remove bad patch I put in. This needs to be thought at more.
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=70629&r1=70628&r2=70629&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Sat May 2 02:46:13 2009
@@ -1391,8 +1391,7 @@
// something that would be accurate and useful to a user, it currently
// affects some optimizations that, e.g., count uses.
if (TheDebugInfo && !optimize)
- if (GV->getSection() != "llvm.metadata")
- TheDebugInfo->EmitGlobalVariable(GV, decl);
+ TheDebugInfo->EmitGlobalVariable(GV, decl);
TREE_ASM_WRITTEN(decl) = 1;
timevar_pop(TV_LLVM_GLOBALS);
More information about the llvm-commits
mailing list