Describe the -gmlt optimization committed in the previous revision.
llvm-svn: 218099
This commit is contained in:
parent
73b65d236c
commit
0b9438b1c1
|
@ -1482,6 +1482,7 @@ void DwarfUnit::applySubprogramAttributes(DISubprogram SP, DIE &SPDie) {
|
|||
if (!SP.getName().empty())
|
||||
addString(SPDie, dwarf::DW_AT_name, SP.getName());
|
||||
|
||||
// Skip the rest of the attributes under -gmlt to save space.
|
||||
if(getCUNode().getEmissionKind() == DIBuilder::LineTablesOnly)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue