summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DebugInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/IR/DebugInfo.cpp')
-rw-r--r--llvm/lib/IR/DebugInfo.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp
index a59fdcd4de9..9a5e47318ac 100644
--- a/llvm/lib/IR/DebugInfo.cpp
+++ b/llvm/lib/IR/DebugInfo.cpp
@@ -517,8 +517,6 @@ bool DILocation::Verify() const {
bool DINameSpace::Verify() const {
if (!DbgNode)
return false;
- if (getName().empty())
- return false;
return true;
}
OpenPOWER on IntegriCloud