summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-07-27 15:24:20 +0000
committerAdrian Prantl <aprantl@apple.com>2017-07-27 15:24:20 +0000
commit960e7663f35c9bc05b04c6d13fde42aa35a815eb (patch)
tree1d00fb759185bac3ba3e00aa4a86a141e5d1c5d0 /llvm
parent2f0cc477ab1a8409a804a420739cbd40b1dd8f4a (diff)
downloadbcm5719-llvm-960e7663f35c9bc05b04c6d13fde42aa35a815eb.tar.gz
bcm5719-llvm-960e7663f35c9bc05b04c6d13fde42aa35a815eb.zip
remove redundant check
llvm-svn: 309280
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index d2085e34190..3fa00e50c5c 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -692,7 +692,7 @@ void DwarfDebug::finalizeModuleInfo() {
// Emit all frontend-produced Skeleton CUs, i.e., Clang modules.
for (auto *CUNode : MMI->getModule()->debug_compile_units())
- if (CUNode->getDWOId() && isEmptyCU(CUNode))
+ if (CUNode->getDWOId())
getOrCreateDwarfCompileUnit(CUNode);
// Compute DIE offsets and sizes.
OpenPOWER on IntegriCloud