mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 07:24:47 +00:00
Debug Info IR: Switch DIObjCProperty to use DITypeRef.
This is a prerequisite for turning on ODR type uniquing for ObjC++. rdar://problem/21377883 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239780 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -931,7 +931,7 @@ void DwarfUnit::constructTypeDIE(DIE &Buffer, const DICompositeType *CTy) {
|
||||
StringRef PropertyName = Property->getName();
|
||||
addString(ElemDie, dwarf::DW_AT_APPLE_property_name, PropertyName);
|
||||
if (Property->getType())
|
||||
addType(ElemDie, Property->getType());
|
||||
addType(ElemDie, resolve(Property->getType()));
|
||||
addSourceLine(ElemDie, Property);
|
||||
StringRef GetterName = Property->getGetterName();
|
||||
if (!GetterName.empty())
|
||||
|
Reference in New Issue
Block a user