[llvm] r174485 - Failing builds because a private class member is not being used after

Eli Bendersky eliben at google.com
Tue Feb 5 21:37:46 PST 2013


Author: eliben
Date: Tue Feb  5 23:37:46 2013
New Revision: 174485

URL: http://llvm.org/viewvc/llvm-project?rev=174485&view=rev
Log:
Failing builds because a private class member is not being used after
initialization is one of the reasons I consider -werror to be shoddy.

Modified:
    llvm/trunk/lib/DebugInfo/DWARFDebugFrame.cpp

Modified: llvm/trunk/lib/DebugInfo/DWARFDebugFrame.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARFDebugFrame.cpp?rev=174485&r1=174484&r2=174485&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARFDebugFrame.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARFDebugFrame.cpp Tue Feb  5 23:37:46 2013
@@ -104,6 +104,9 @@ public:
                  LinkedCIEOffset, InitialLocation,
                  InitialLocation + AddressRange);
     OS << "\n";
+    if (LinkedCIE) {
+      OS << format("%p\n", LinkedCIE);
+    }
   }
 
   static bool classof(const FrameEntry *FE) {





More information about the llvm-commits mailing list