mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Formatting fixups.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202220 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bb69788ba3
commit
717116f1d2
@ -586,7 +586,8 @@ DIE *DwarfDebug::createScopeChildrenDIE(DwarfCompileUnit *TheCU,
|
|||||||
// If this is a variadic function, add an unspecified parameter.
|
// If this is a variadic function, add an unspecified parameter.
|
||||||
DISubprogram SP(Scope->getScopeNode());
|
DISubprogram SP(Scope->getScopeNode());
|
||||||
DIArray FnArgs = SP.getType().getTypeArray();
|
DIArray FnArgs = SP.getType().getTypeArray();
|
||||||
if (FnArgs.getElement(FnArgs.getNumElements()-1).isUnspecifiedParameter()) {
|
if (FnArgs.getElement(FnArgs.getNumElements() - 1)
|
||||||
|
.isUnspecifiedParameter()) {
|
||||||
DIE *Ellipsis = new DIE(dwarf::DW_TAG_unspecified_parameters);
|
DIE *Ellipsis = new DIE(dwarf::DW_TAG_unspecified_parameters);
|
||||||
Children.push_back(Ellipsis);
|
Children.push_back(Ellipsis);
|
||||||
}
|
}
|
||||||
@ -759,7 +760,6 @@ DwarfCompileUnit *DwarfDebug::constructDwarfCompileUnit(DICompileUnit DIUnit) {
|
|||||||
DIUnit.getLanguage());
|
DIUnit.getLanguage());
|
||||||
NewCU->addString(Die, dwarf::DW_AT_name, FN);
|
NewCU->addString(Die, dwarf::DW_AT_name, FN);
|
||||||
|
|
||||||
|
|
||||||
if (!useSplitDwarf()) {
|
if (!useSplitDwarf()) {
|
||||||
NewCU->initStmtList(DwarfLineSectionSym);
|
NewCU->initStmtList(DwarfLineSectionSym);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user