[all-commits] [llvm/llvm-project] 1cd227: [BOLT][BTI] Disassemble PLT entries when processin...
Gergely Bálint via All-commits
all-commits at lists.llvm.org
Wed Nov 26 07:14:51 PST 2025
Branch: refs/heads/users/bgergely0/bolt-disassemble-plts
Home: https://github.com/llvm/llvm-project
Commit: 1cd2273be973481e4e7e8e550fea84adce862194
https://github.com/llvm/llvm-project/commit/1cd2273be973481e4e7e8e550fea84adce862194
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