mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
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:
parent
a5a4f87474
commit
37132885ef
@ -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
Block a user