aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCContext.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-02-14 20:15:55 -0800
committerFangrui Song <maskray@google.com>2020-02-14 20:25:52 -0800
commit1dc16c752dd3dcd41ed320c2ea7647ea5bd7736e (patch)
treecb81d511e964c20893f9f6804b2c723ec24278fa /llvm/lib/MC/MCContext.cpp
parent0fbe2215438b6598b4bc54c64812cab792ba5862 (diff)
downloadllvm-1dc16c752dd3dcd41ed320c2ea7647ea5bd7736e.zip
llvm-1dc16c752dd3dcd41ed320c2ea7647ea5bd7736e.tar.gz
llvm-1dc16c752dd3dcd41ed320c2ea7647ea5bd7736e.tar.bz2
[MC] Add MCSection::NonUniqueID and delete one MCContext::getELFSection overload
Diffstat (limited to 'llvm/lib/MC/MCContext.cpp')
-rw-r--r--llvm/lib/MC/MCContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCContext.cpp b/llvm/lib/MC/MCContext.cpp
index 8b3caf7..6cda18a 100644
--- a/llvm/lib/MC/MCContext.cpp
+++ b/llvm/lib/MC/MCContext.cpp
@@ -433,8 +433,8 @@ MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type,
MCSectionELF *MCContext::createELFGroupSection(const MCSymbolELF *Group) {
return createELFSectionImpl(".group", ELF::SHT_GROUP, 0,
- SectionKind::getReadOnly(), 4, Group, ~0,
- nullptr);
+ SectionKind::getReadOnly(), 4, Group,
+ MCSection::NonUniqueID, nullptr);
}
MCSectionCOFF *MCContext::getCOFFSection(StringRef Section,