mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
Let Objective-C front-end identify class extension, in dwarf output, using an attribute DW_AT_APPLE_objc_class_extension.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131238 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -766,6 +766,10 @@ void CompileUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) {
|
||||
addToContextOwner(&Buffer, Context);
|
||||
}
|
||||
|
||||
if (CTy.isObjcClassExtension())
|
||||
addUInt(&Buffer, dwarf::DW_AT_APPLE_objc_class_extension,
|
||||
dwarf::DW_FORM_flag, 1);
|
||||
|
||||
if (Tag == dwarf::DW_TAG_class_type)
|
||||
addTemplateParams(Buffer, CTy.getTemplateParams());
|
||||
|
||||
|
Reference in New Issue
Block a user