mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +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:
parent
99addee733
commit
a1d25b6360
@ -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();
|
||||
|
@ -330,8 +330,8 @@ private:
|
||||
/// constructEnumTypeDIE - Construct enum type DIE from DIEnumerator.
|
||||
void constructEnumTypeDIE(DIE &Buffer, DIEnumerator ETy);
|
||||
|
||||
/// createMemberDIE - Create new member DIE.
|
||||
void createMemberDIE(DIE &Buffer, DIDerivedType DT);
|
||||
/// constructMemberDIE - Construct member DIE from DIDerivedType.
|
||||
void constructMemberDIE(DIE &Buffer, DIDerivedType DT);
|
||||
|
||||
/// getOrCreateTemplateTypeParameterDIE - Find existing DIE or create new DIE
|
||||
/// for the given DITemplateTypeParameter.
|
||||
|
Loading…
Reference in New Issue
Block a user