mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-01 15:40:46 +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.
|
||||
DISubprogram SP(Scope->getScopeNode());
|
||||
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);
|
||||
Children.push_back(Ellipsis);
|
||||
}
|
||||
@ -759,7 +760,6 @@ DwarfCompileUnit *DwarfDebug::constructDwarfCompileUnit(DICompileUnit DIUnit) {
|
||||
DIUnit.getLanguage());
|
||||
NewCU->addString(Die, dwarf::DW_AT_name, FN);
|
||||
|
||||
|
||||
if (!useSplitDwarf()) {
|
||||
NewCU->initStmtList(DwarfLineSectionSym);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user