summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineDebugInfo.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-08-21 21:20:18 +0000
committerJim Laskey <jlaskey@mac.com>2006-08-21 21:20:18 +0000
commitb6ac11e120caa2db015047c6e7bba5f6aaa2a2ab (patch)
tree560d3f3fd9bbe87a4aeb2352f8b17c091fe7a485 /llvm/lib/CodeGen/MachineDebugInfo.cpp
parent5c51c2b4ab3fd7d812ab73d998e0d86be09979e9 (diff)
downloadbcm5719-llvm-b6ac11e120caa2db015047c6e7bba5f6aaa2a2ab.tar.gz
bcm5719-llvm-b6ac11e120caa2db015047c6e7bba5f6aaa2a2ab.zip
Adding C++ member support.
llvm-svn: 29799
Diffstat (limited to 'llvm/lib/CodeGen/MachineDebugInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineDebugInfo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineDebugInfo.cpp b/llvm/lib/CodeGen/MachineDebugInfo.cpp
index fa2f57f0e0c..cab58218ba7 100644
--- a/llvm/lib/CodeGen/MachineDebugInfo.cpp
+++ b/llvm/lib/CodeGen/MachineDebugInfo.cpp
@@ -497,7 +497,8 @@ DebugInfoDesc *DebugInfoDesc::DescFactory(unsigned Tag) {
case DW_TAG_const_type:
case DW_TAG_volatile_type:
case DW_TAG_restrict_type:
- case DW_TAG_member: return new DerivedTypeDesc(Tag);
+ case DW_TAG_member:
+ case DW_TAG_inheritance: return new DerivedTypeDesc(Tag);
case DW_TAG_array_type:
case DW_TAG_structure_type:
case DW_TAG_union_type:
@@ -788,6 +789,7 @@ bool DerivedTypeDesc::classof(const DebugInfoDesc *D) {
case DW_TAG_volatile_type:
case DW_TAG_restrict_type:
case DW_TAG_member:
+ case DW_TAG_inheritance:
return true;
default: break;
}
OpenPOWER on IntegriCloud