[llvm-branch-commits] [llvm-gcc-branch] r70626 - /llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-backend.cpp
Bill Wendling
isanbard at gmail.com
Sat May 2 00:29:21 PDT 2009
Author: void
Date: Sat May 2 02:29:21 2009
New Revision: 70626
URL: http://llvm.org/viewvc/llvm-project?rev=70626&view=rev
Log:
Revert broken commit.
Modified:
llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-backend.cpp
Modified: llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-backend.cpp?rev=70626&r1=70625&r2=70626&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/branches/Apple/Dib/gcc/llvm-backend.cpp Sat May 2 02:29:21 2009
@@ -1390,8 +1390,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-branch-commits
mailing list