mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 07:24:25 +00:00
Debug Info: code clean up.
Rename createMemberDIE to constructMemberDIE to match other construct functions in CompileUnit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193286 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1167,7 +1167,7 @@ void CompileUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) {
|
||||
} else if (DDTy.isStaticMember()) {
|
||||
getOrCreateStaticMemberDIE(DDTy);
|
||||
} else {
|
||||
createMemberDIE(Buffer, DDTy);
|
||||
constructMemberDIE(Buffer, DDTy);
|
||||
}
|
||||
} else if (Element.isObjCProperty()) {
|
||||
DIObjCProperty Property(Element);
|
||||
@ -1783,8 +1783,8 @@ DIE *CompileUnit::constructVariableDIE(DbgVariable *DV, bool isScopeAbstract) {
|
||||
return VariableDie;
|
||||
}
|
||||
|
||||
/// createMemberDIE - Create new member DIE.
|
||||
void CompileUnit::createMemberDIE(DIE &Buffer, DIDerivedType DT) {
|
||||
/// constructMemberDIE - Construct member DIE from DIDerivedType.
|
||||
void CompileUnit::constructMemberDIE(DIE &Buffer, DIDerivedType DT) {
|
||||
DIE *MemberDie = new DIE(DT.getTag());
|
||||
Buffer.addChild(MemberDie);
|
||||
StringRef Name = DT.getName();
|
||||
|
Reference in New Issue
Block a user