mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 02:24:22 +00:00
Don't prime the section map.
This was just creating unused labels for .text when the module had no functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231694 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1741,9 +1741,6 @@ void DwarfDebug::emitDebugARanges() {
|
||||
// Provides a unique id per text section.
|
||||
DenseMap<const MCSection *, SmallVector<SymbolCU, 8>> SectionMap;
|
||||
|
||||
// Prime section data.
|
||||
SectionMap[Asm->getObjFileLowering().getTextSection()];
|
||||
|
||||
// Filter labels by section.
|
||||
for (const SymbolCU &SCU : ArangeLabels) {
|
||||
if (SCU.Sym->isInSection()) {
|
||||
|
Reference in New Issue
Block a user