[all-commits] [llvm/llvm-project] 1a96c4: [BOLT][BTI] Disassemble PLT entries when processin...
Gergely Bálint via All-commits
all-commits at lists.llvm.org
Wed Nov 26 09:30:24 PST 2025
Branch: refs/heads/users/bgergely0/bolt-disassemble-plts
Home: https://github.com/llvm/llvm-project
Commit: 1a96c464c9bcb258db09f0e77962f8b45c686e53
https://github.com/llvm/llvm-project/commit/1a96c464c9bcb258db09f0e77962f8b45c686e53
Author: Gergely Balint <gergely.balint at arm.com>
Date: 2025-11-26 (Wed, 26 Nov 2025)
Changed paths:
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
A bolt/test/runtime/AArch64/disassemble-plts.c
Log Message:
-----------
[BOLT][BTI] Disassemble PLT entries when processing BTI binaries
PLT entries are PseudoFunctions, and are not disassembled or emitted.
For BTI, we need to check the first MCInst of PLT entries, to see
if indirectly calling them is safe or not.
This patch disassembles PLTs for binaries using BTI, while not changing
the behaviour for binaries without BTI.
The PLTs are only disassembled, not emitted.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list