[PATCH] D142686: [BOLT] Reintroduce allow-stripped
Maksim Panchenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 15:48:09 PST 2023
maksfb added a comment.
Test case has to be updated as well.
================
Comment at: bolt/lib/Rewrite/RewriteInstance.cpp:1665
+ errs() << "BOLT-ERROR: stripped binaries are not supported. If you know "
+ "what you're doing, use --allow-stripped to proceed.";
+ exit(1);
----------------
================
Comment at: bolt/test/X86/broken_dynsym.test:6
# RUN: llvm-strip -s %t
-# RUN: llvm-bolt %t -o %t.bolt | FileCheck %s
+# RUN: llvm-bolt %t -o %t.bolt -allow-stripped | FileCheck %s
----------------
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