Skip to content

Commit be82246

Browse files
committed
[MC] Remove dead code.
1 parent 7bf0d6d commit be82246

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/lib/MC/MCContext.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -575,9 +575,6 @@ MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type,
575575
const MCSymbolELF *GroupSym,
576576
bool IsComdat, unsigned UniqueID,
577577
const MCSymbolELF *LinkedToSym) {
578-
StringRef Group = "";
579-
if (GroupSym)
580-
Group = GroupSym->getName();
581578
assert(!(LinkedToSym && LinkedToSym->getName().empty()));
582579

583580
// Sections are differentiated by the quadruple (section_name, group_name,

0 commit comments

Comments
 (0)