[PATCH] D142686: [BOLT] Reintroduce allow-stripped

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 17:13:23 PST 2023


maksfb added inline comments.


================
Comment at: bolt/lib/Rewrite/RewriteInstance.cpp:1664-1665
+  if (BC->IsStripped && !opts::AllowStripped) {
+    outs() << "BOLT-INFO: stripped binaries are not supported. If you know "
+              "what you're doing, use -allow-stripped to proceed.";
+    exit(1);
----------------
Since we are existing without generating the output, this should be an abnormal behavior and hence we should issue an error.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142686/new/

https://reviews.llvm.org/D142686



More information about the llvm-commits mailing list