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 7c3246f commit 75cc116Copy full SHA for 75cc116
bolt/include/bolt/Core/BinaryFunction.h
@@ -1663,7 +1663,7 @@ class BinaryFunction {
1663
Offset = I->first;
1664
}
1665
assert(I->first == Offset && "CFI pointing to unknown instruction");
1666
- if (I == Instructions.begin()) {
+ if (I == Instructions.begin() && Inst.getOperation() != MCCFIInstruction::OpRememberState) {
1667
CIEFrameInstructions.emplace_back(std::forward<MCCFIInstruction>(Inst));
1668
return;
1669
0 commit comments