[llvm] [BOLT] Add reading support for Linux kernel .altinstructions section (PR #84283)
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 7 09:40:45 PST 2024
================
@@ -27,6 +27,21 @@ using namespace bolt;
namespace opts {
+static cl::opt<bool>
+ AltInstHasPadLen("alt-inst-has-padlen",
+ cl::desc("specify that .altinstructions has padlen field"),
+ cl::init(false), cl::Hidden, cl::cat(BoltCategory));
+
+static cl::opt<uint32_t>
+ AltInstFeatureSize("alt-inst-feature-size",
+ cl::desc("size of feature field in .altinstructions"),
+ cl::init(2), cl::Hidden, cl::cat(BoltCategory));
+
+static cl::opt<bool>
+ DumpAltInstructions("dump-alt-instructions",
+ cl::desc("dump Linux alernative instructions info"),
----------------
dcci wrote:
typo: alternative.
https://github.com/llvm/llvm-project/pull/84283
More information about the llvm-commits
mailing list