We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 403e4a2 commit 183ddefCopy full SHA for 183ddef
llvm/include/llvm/MC/MCSectionELF.h
@@ -62,6 +62,8 @@ class MCSectionELF final : public MCSection {
62
type == ELF::SHT_NOBITS, Begin),
63
Type(type), Flags(flags), UniqueID(UniqueID), EntrySize(entrySize),
64
Group(group, IsComdat), LinkedToSym(LinkedToSym) {
65
+ assert((!(Flags & ELF::SHF_GROUP) || Group.getPointer()) &&
66
+ "Group section without signature!");
67
if (Group.getPointer())
68
Group.getPointer()->setIsSignature();
69
}
0 commit comments