[llvm] r331984 - [DWARF] DwarfGenerator.h LineTable: explicitly mark DG as unused
    Roman Lebedev via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu May 10 07:16:45 PDT 2018
    
    
  
Author: lebedevri
Date: Thu May 10 07:16:45 2018
New Revision: 331984
URL: http://llvm.org/viewvc/llvm-project?rev=331984&view=rev
Log:
[DWARF] DwarfGenerator.h LineTable: explicitly mark DG as unused
Just want to unbreak the build.
Modified:
    llvm/trunk/unittests/DebugInfo/DWARF/DwarfGenerator.h
Modified: llvm/trunk/unittests/DebugInfo/DWARF/DwarfGenerator.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/DebugInfo/DWARF/DwarfGenerator.h?rev=331984&r1=331983&r2=331984&view=diff
==============================================================================
--- llvm/trunk/unittests/DebugInfo/DWARF/DwarfGenerator.h (original)
+++ llvm/trunk/unittests/DebugInfo/DWARF/DwarfGenerator.h Thu May 10 07:16:45 2018
@@ -205,7 +205,7 @@ private:
   void writeProloguePayload(const DWARFDebugLine::Prologue &Prologue,
                             AsmPrinter &Asm) const;
 
-  Generator &DG;
+  LLVM_ATTRIBUTE_UNUSED Generator &DG;
   llvm::Optional<DWARFDebugLine::Prologue> Prologue;
   std::vector<ValueAndLength> CustomPrologue;
   std::vector<ValueAndLength> Contents;
    
    
More information about the llvm-commits
mailing list