[llvm] [BOLT][BTI] Disassemble PLT entries when processing BTI binaries (PR #169663)
Gergely Bálint via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 26 07:26:43 PST 2025
================
@@ -461,6 +461,12 @@ Error RewriteInstance::setProfile(StringRef Filename) {
/// Return true if the function \p BF should be disassembled.
static bool shouldDisassemble(const BinaryFunction &BF) {
+
+ const BinaryContext &BC = BF.getBinaryContext();
+ // Disassemble PLT functions on AArch64 to check BTI landing pads.
----------------
bgergely0 wrote:
oops, this should not say `on AArch64`, as it's only for BTI binaries.
https://github.com/llvm/llvm-project/pull/169663
More information about the llvm-commits
mailing list