summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-05-27 23:02:36 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-05-27 23:02:36 +0000
commita68b880d697c169bb14141780a1cfe1f58d77dc4 (patch)
tree98585cf069c6538e7204d920ae66e472ffcf010a /llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
parent6289892c20a3c3c80c3c25ed303f9abb9758d421 (diff)
downloadbcm5719-llvm-a68b880d697c169bb14141780a1cfe1f58d77dc4.tar.gz
bcm5719-llvm-a68b880d697c169bb14141780a1cfe1f58d77dc4.zip
AsmPrinter: Avoid a warning in NDEBUG, NFC
Should fix the -Werror release build: http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/11113 llvm-svn: 238375
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
index b1668658815..cafaabba5a3 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
@@ -107,6 +107,7 @@ unsigned DwarfFile::computeSizeAndOffset(DIE &Die, unsigned Offset) {
// Size the DIE children if any.
if (!Children.empty()) {
+ (void)Abbrev;
assert(Abbrev.hasChildren() && "Children flag not set");
for (auto &Child : Children)
OpenPOWER on IntegriCloud