diff options
Diffstat (limited to 'bolt/lib/Rewrite/RewriteInstance.cpp')
-rw-r--r-- | bolt/lib/Rewrite/RewriteInstance.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/bolt/lib/Rewrite/RewriteInstance.cpp b/bolt/lib/Rewrite/RewriteInstance.cpp index c428828..ddf9347 100644 --- a/bolt/lib/Rewrite/RewriteInstance.cpp +++ b/bolt/lib/Rewrite/RewriteInstance.cpp @@ -3524,17 +3524,6 @@ void RewriteInstance::disassembleFunctions() { } } - // Check if fillCFIInfoFor removed any OpNegateRAState CFIs from the - // function. - if (Function.containedNegateRAState()) { - if (!opts::UpdateBranchProtection) { - BC->errs() - << "BOLT-ERROR: --update-branch-protection is set to false, but " - << Function.getPrintName() << " contains .cfi-negate-ra-state\n"; - exit(1); - } - } - // Parse LSDA. if (Function.getLSDAAddress() != 0 && !BC->getFragmentsToSkip().count(&Function)) { |