mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
Revert a series of commits starting at r228886 which is triggering some
regressions for LLDB on Linux. Rafael indicated on lldb-dev that we should just go ahead and revert these but that he wasn't at a computer. The patches backed out are as follows: r228980: Add support for having multiple sections with the name and ... r228889: Invert the section relocation map. r228888: Use the existing SymbolTableIndex intsead of doing a lookup. r228886: Create the Section -> Rel Section map when it is first needed. These patches look pretty nice to me, so hoping its not too hard to get them re-instated. =D git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229080 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -24,9 +24,6 @@ MCSectionELF::~MCSectionELF() {} // anchor.
|
||||
bool MCSectionELF::ShouldOmitSectionDirective(StringRef Name,
|
||||
const MCAsmInfo &MAI) const {
|
||||
|
||||
if (Unique)
|
||||
return false;
|
||||
|
||||
// FIXME: Does .section .bss/.data/.text work everywhere??
|
||||
if (Name == ".text" || Name == ".data" ||
|
||||
(Name == ".bss" && !MAI.usesELFSectionDirectiveForBSS()))
|
||||
@ -147,10 +144,6 @@ void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI,
|
||||
printName(OS, Group->getName());
|
||||
OS << ",comdat";
|
||||
}
|
||||
|
||||
if (Unique)
|
||||
OS << ",unique";
|
||||
|
||||
OS << '\n';
|
||||
|
||||
if (Subsection)
|
||||
|
Reference in New Issue
Block a user