summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCSectionELF.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-02-13 07:52:39 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-02-13 07:52:39 +0000
commitd99f427e31377e93cf40690cb521850a2b755233 (patch)
tree8d9813019fc24462da325057a31918e06c2f0a99 /llvm/lib/MC/MCSectionELF.cpp
parent191b57478e2bdb46d2c2155ba3e3fe19f2e5d731 (diff)
downloadbcm5719-llvm-d99f427e31377e93cf40690cb521850a2b755233.tar.gz
bcm5719-llvm-d99f427e31377e93cf40690cb521850a2b755233.zip
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 llvm-svn: 229080
Diffstat (limited to 'llvm/lib/MC/MCSectionELF.cpp')
-rw-r--r--llvm/lib/MC/MCSectionELF.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/MC/MCSectionELF.cpp b/llvm/lib/MC/MCSectionELF.cpp
index da3868273a7..fb364c87a03 100644
--- a/llvm/lib/MC/MCSectionELF.cpp
+++ b/llvm/lib/MC/MCSectionELF.cpp
@@ -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)
OpenPOWER on IntegriCloud