[llvm-commits] [llvm] r168395 - in /llvm/trunk/lib/CodeGen/AsmPrinter: DwarfDebug.cpp DwarfDebug.h
Eric Christopher
echristo at gmail.com
Tue Nov 20 15:30:11 PST 2012
Author: echristo
Date: Tue Nov 20 17:30:11 2012
New Revision: 168395
URL: http://llvm.org/viewvc/llvm-project?rev=168395&view=rev
Log:
Remove constness from this, it modifies the output stream as does
everything else underneath.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=168395&r1=168394&r2=168395&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Tue Nov 20 17:30:11 2012
@@ -1796,7 +1796,7 @@
/// emitAbbreviations - Emit the abbreviation section.
///
-void DwarfDebug::emitAbbreviations() const {
+void DwarfDebug::emitAbbreviations() {
// Check to see if it is worth the effort.
if (!Abbreviations.empty()) {
// Start the debug abbrev section.
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h?rev=168395&r1=168394&r2=168395&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h Tue Nov 20 17:30:11 2012
@@ -372,7 +372,7 @@
/// emitAbbreviations - Emit the abbreviation section.
///
- void emitAbbreviations() const;
+ void emitAbbreviations();
/// emitEndOfLineMatrix - Emit the last address of the section and the end of
/// the line matrix.
More information about the llvm-commits
mailing list