summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-08-17 09:47:52 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-08-17 09:47:52 +0000
commit22d580f2caabcb102491a0584c214f7243190eeb (patch)
tree9d31e409d337b1c2253a7d349abc35bc910e804a /llvm/lib/CodeGen
parent8a0f76b855afdf1099e4447dd30543ea7cb9c562 (diff)
downloadbcm5719-llvm-22d580f2caabcb102491a0584c214f7243190eeb.tar.gz
bcm5719-llvm-22d580f2caabcb102491a0584c214f7243190eeb.zip
Fix "control reaches end of non-void function" -Wreturn-type warning. NFCI.
llvm-svn: 340006
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
index fc08d14d2f6..bd4f8f59b6e 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
@@ -894,6 +894,7 @@ bool DwarfCompileUnit::hasDwarfPubSections() const {
return DD->tuneForGDB() && !includeMinimalInlineScopes() &&
!CUNode->isDebugDirectivesOnly();
}
+ llvm_unreachable("Unhandled DICompileUnit::DebugNameTableKind enum");
}
/// addGlobalName - Add a new global name to the compile unit.
OpenPOWER on IntegriCloud