mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Remove the GroupMapTy DenseMap. NFC.
Instead use the Group symbol of MCSectionELF. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236033 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -337,10 +337,10 @@ const MCSectionELF *MCContext::getELFSection(StringRef Section, unsigned Type,
|
||||
return Result;
|
||||
}
|
||||
|
||||
const MCSectionELF *MCContext::CreateELFGroupSection() {
|
||||
const MCSectionELF *MCContext::createELFGroupSection(const MCSymbol *Group) {
|
||||
MCSectionELF *Result = new (*this)
|
||||
MCSectionELF(".group", ELF::SHT_GROUP, 0, SectionKind::getReadOnly(), 4,
|
||||
nullptr, ~0, nullptr, nullptr);
|
||||
Group, ~0, nullptr, nullptr);
|
||||
return Result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user