aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2018-08-16 23:57:15 +0000
committerDavid Blaikie <dblaikie@gmail.com>2018-08-16 23:57:15 +0000
commit0e03047e85398a7a33e55ee92c219306727fb192 (patch)
tree47dace06b13d6d539fc6164ee95ebf31395825de /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
parent2c0fad59dfd1a54e9a76d18aebc8f4fc7e891252 (diff)
downloadllvm-0e03047e85398a7a33e55ee92c219306727fb192.zip
llvm-0e03047e85398a7a33e55ee92c219306727fb192.tar.gz
llvm-0e03047e85398a7a33e55ee92c219306727fb192.tar.bz2
DebugInfo: Remove command line (& target-based) disabling of pubnames in favor of metadata
Now that Clang disables NVPTX pubnames via metadata there's no need for this fallback to target detection in the backend. llvm-svn: 339970
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
index a74a9f9..fc08d14 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
@@ -891,8 +891,8 @@ bool DwarfCompileUnit::hasDwarfPubSections() const {
case DICompileUnit::DebugNameTableKind::GNU:
return true;
case DICompileUnit::DebugNameTableKind::Default:
- return DD->tuneForGDB() && DD->usePubSections() &&
- !includeMinimalInlineScopes() && !CUNode->isDebugDirectivesOnly();
+ return DD->tuneForGDB() && !includeMinimalInlineScopes() &&
+ !CUNode->isDebugDirectivesOnly();
}
}