Describe the -gmlt optimization committed in the previous revision.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218099 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Blaikie 2014-09-19 04:47:46 +00:00
parent a5a4f87474
commit 37132885ef

View File

@ -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;