mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 22:20:37 +00:00
Omit DW_AT_artificial, DW_AT_external, and similar attributes under -gmlt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216789 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0f155c19a5
commit
a2fa271b36
@ -1518,6 +1518,9 @@ void DwarfUnit::applySubprogramAttributes(DISubprogram SP, DIE &SPDie) {
|
||||
constructSubprogramArguments(SPDie, Args);
|
||||
}
|
||||
|
||||
if(getCUNode().getEmissionKind() == DIBuilder::LineTablesOnly)
|
||||
return;
|
||||
|
||||
if (SP.isArtificial())
|
||||
addFlag(SPDie, dwarf::DW_AT_artificial);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user