as well as types.
No functional change as they're not emitted unless the option
is true anyhow.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190346
91177308-0d34-0410-b5e6-
96231b3b80d8
// Add to context owner.
TheCU->addToContextOwner(SubprogramDie, SP.getContext());
- // Expose as global, if requested.
- if (HasDwarfPubSections)
- TheCU->addGlobalName(SP.getName(), SubprogramDie);
+ // Expose as a global name.
+ TheCU->addGlobalName(SP.getName(), SubprogramDie);
}
void DwarfDebug::constructImportedEntityDIE(CompileUnit *TheCU,