mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-11 02:21:40 +00:00
Omit DW_AT_inline under -gmlt to save a little more space.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218719 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a0715579f0
commit
8f70c4827a
@ -526,7 +526,8 @@ void DwarfDebug::constructAbstractSubprogramScopeDIE(DwarfCompileUnit &TheCU,
|
|||||||
DIDescriptor());
|
DIDescriptor());
|
||||||
SPCU.applySubprogramAttributesToDefinition(SP, *AbsDef);
|
SPCU.applySubprogramAttributesToDefinition(SP, *AbsDef);
|
||||||
|
|
||||||
SPCU.addUInt(*AbsDef, dwarf::DW_AT_inline, None, dwarf::DW_INL_inlined);
|
if (TheCU.getCUNode().getEmissionKind() != DIBuilder::LineTablesOnly)
|
||||||
|
SPCU.addUInt(*AbsDef, dwarf::DW_AT_inline, None, dwarf::DW_INL_inlined);
|
||||||
if (DIE *ObjectPointer = createAndAddScopeChildren(SPCU, Scope, *AbsDef))
|
if (DIE *ObjectPointer = createAndAddScopeChildren(SPCU, Scope, *AbsDef))
|
||||||
SPCU.addDIEEntry(*AbsDef, dwarf::DW_AT_object_pointer, *ObjectPointer);
|
SPCU.addDIEEntry(*AbsDef, dwarf::DW_AT_object_pointer, *ObjectPointer);
|
||||||
}
|
}
|
||||||
|
@ -50,7 +50,6 @@
|
|||||||
; the absence of high_pc/low_pc/ranges and know that they just need it for
|
; the absence of high_pc/low_pc/ranges and know that they just need it for
|
||||||
; retrieving the name of a concrete inlined instance
|
; retrieving the name of a concrete inlined instance
|
||||||
|
|
||||||
; CHECK-NEXT: DW_AT_inline
|
|
||||||
; CHECK-NOT: {{DW_TAG|DW_AT|NULL}}
|
; CHECK-NOT: {{DW_TAG|DW_AT|NULL}}
|
||||||
|
|
||||||
; Check that we only provide the minimal attributes on a subprogram to save space.
|
; Check that we only provide the minimal attributes on a subprogram to save space.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user