Skip to content

Commit bcf8ded

Browse files
authored
[MC] Remove dead code. (llvm#114798)
1 parent aaec9e5 commit bcf8ded

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
@@ -626,9 +626,6 @@ MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type,
626626
const MCSymbolELF *GroupSym,
627627
bool IsComdat, unsigned UniqueID,
628628
const MCSymbolELF *LinkedToSym) {
629-
StringRef Group = "";
630-
if (GroupSym)
631-
Group = GroupSym->getName();
632629
assert(!(LinkedToSym && LinkedToSym->getName().empty()));
633630

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

0 commit comments

Comments
 (0)