summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/DebugInfo
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2018-05-10 14:16:45 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2018-05-10 14:16:45 +0000
commit85343925d73a80b6a938399c64504a034afde554 (patch)
tree6f232a952918a3e74d12def4f1f66792101749f8 /llvm/unittests/DebugInfo
parente1b0e29e1e8c6f06f57e4cf6ea366c58b29e0a76 (diff)
downloadbcm5719-llvm-85343925d73a80b6a938399c64504a034afde554.tar.gz
bcm5719-llvm-85343925d73a80b6a938399c64504a034afde554.zip
[DWARF] DwarfGenerator.h LineTable: explicitly mark DG as unused
Just want to unbreak the build. llvm-svn: 331984
Diffstat (limited to 'llvm/unittests/DebugInfo')
-rw-r--r--llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h
index e575af2c29f..01f40e3855b 100644
--- a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h
+++ b/llvm/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<DWARFDebugLine::Prologue> Prologue;
std::vector<ValueAndLength> CustomPrologue;
std::vector<ValueAndLength> Contents;
OpenPOWER on IntegriCloud