diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-03-11 23:21:19 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-03-11 23:21:19 +0000 |
commit | 6643868498043d373384e0befaff3b5a8a8574f7 (patch) | |
tree | 36699c3e2c6e16d49f54a0a3b187004d85974be4 /lib/IR/DebugInfo.cpp | |
parent | 6acbcd423b2ace94bb13c0de9d98ea66c5dbe00c (diff) |
Add asserts to DIBuilder & fix DINameSpace::Verify to allow unnamed namespaces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/DebugInfo.cpp')
-rw-r--r-- | lib/IR/DebugInfo.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/IR/DebugInfo.cpp b/lib/IR/DebugInfo.cpp index a59fdcd4de..9a5e47318a 100644 --- a/lib/IR/DebugInfo.cpp +++ b/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; } |