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 f38b5fe commit 0cbaab6Copy full SHA for 0cbaab6
llvm/include/llvm/MC/MCSection.h
@@ -451,6 +451,10 @@ class MCRelaxableFragment : public MCEncodedFragment {
451
return Inst;
452
}
453
void setInst(const MCInst &Inst) {
454
+ // If we ever support Flags in relaxable fragments, revisit the data
455
+ // structure.
456
+ assert(Inst.getFlags() == 0 && "relaxable fragment doesn't support flags");
457
+
458
Opcode = Inst.getOpcode();
459
auto &S = getParent()->MCOperandStorage;
460
if (Inst.getNumOperands() > OperandSize) {
0 commit comments