[llvm-branch-commits] [llvm-gcc-branch] r86154 - /llvm-gcc-4.2/branches/Apple/Leela/gcc/llvm-backend.cpp

Bill Wendling isanbard at gmail.com
Thu Nov 5 11:09:55 PST 2009


Author: void
Date: Thu Nov  5 13:09:54 2009
New Revision: 86154

URL: http://llvm.org/viewvc/llvm-project?rev=86154&view=rev
Log:
$ svn merge -c 86138 https://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk
--- Merging r86138 into '.':
U    gcc/llvm-backend.cpp


Modified:
    llvm-gcc-4.2/branches/Apple/Leela/gcc/llvm-backend.cpp

Modified: llvm-gcc-4.2/branches/Apple/Leela/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Leela/gcc/llvm-backend.cpp?rev=86154&r1=86153&r2=86154&view=diff

==============================================================================
--- llvm-gcc-4.2/branches/Apple/Leela/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/branches/Apple/Leela/gcc/llvm-backend.cpp Thu Nov  5 13:09:54 2009
@@ -1446,10 +1446,7 @@
 #endif
   }
 
-  // No debug info for globals when optimization is on.  While this is
-  // something that would be accurate and useful to a user, it currently
-  // affects some optimizations that, e.g., count uses.
-  if (TheDebugInfo && !optimize) {
+  if (TheDebugInfo) {
     std::string Name = GV->getNameStr();
     const char LPrefix[] = "\01L_OBJC_";
     const char lPrefix[] = "\01l_OBJC_";





More information about the llvm-branch-commits mailing list