projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d3f329
)
After r138010, subroutine type does not have context info. Update type verifier accor...
author
Devang Patel
<dpatel@apple.com>
Wed, 31 Aug 2011 18:04:31 +0000
(18:04 +0000)
committer
Devang Patel
<dpatel@apple.com>
Wed, 31 Aug 2011 18:04:31 +0000
(18:04 +0000)
This fixes ptype.exp gdb testsuite regressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138869
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DebugInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DebugInfo.cpp
b/lib/Analysis/DebugInfo.cpp
index 7935fadb2fa88e3a61c753380d29f9681792dddc..b050227bc8400e33f57f395b609ba81db496033a 100644
(file)
--- a/
lib/Analysis/DebugInfo.cpp
+++ b/
lib/Analysis/DebugInfo.cpp
@@
-367,6
+367,7
@@
bool DIType::Verify() const {
Tag != dwarf::DW_TAG_reference_type && Tag != dwarf::DW_TAG_restrict_type
&& Tag != dwarf::DW_TAG_vector_type && Tag != dwarf::DW_TAG_array_type
&& Tag != dwarf::DW_TAG_enumeration_type
+ && Tag != dwarf::DW_TAG_subroutine_type
&& getFilename().empty())
return false;
return true;