From acaac07b630dc05a53fd2dc904713e261f8d196c Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Thu, 10 May 2018 14:16:45 +0000 Subject: [PATCH] [DWARF] DwarfGenerator.h LineTable: explicitly mark DG as unused Just want to unbreak the build. llvm-svn: 331984 --- unittests/DebugInfo/DWARF/DwarfGenerator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/DebugInfo/DWARF/DwarfGenerator.h b/unittests/DebugInfo/DWARF/DwarfGenerator.h index e575af2c29f..01f40e3855b 100644 --- a/unittests/DebugInfo/DWARF/DwarfGenerator.h +++ b/unittests/DebugInfo/DWARF/DwarfGenerator.h @@ -205,7 +205,7 @@ private: void writeProloguePayload(const DWARFDebugLine::Prologue &Prologue, AsmPrinter &Asm) const; - Generator &DG; + LLVM_ATTRIBUTE_UNUSED Generator &DG; llvm::Optional Prologue; std::vector CustomPrologue; std::vector Contents;