[all-commits] [llvm/llvm-project] ceefe6: [PAC][lld] Test warning emitted for non-PAuth-mark...
Daniil Kovalev via All-commits
all-commits at lists.llvm.org
Sat Nov 9 22:09:51 PST 2024
Branch: refs/heads/users/kovdan01/lld-pac-plt-warning
Home: https://github.com/llvm/llvm-project
Commit: ceefe60fd43f341ebb263d160c2c510c31e6ae09
https://github.com/llvm/llvm-project/commit/ceefe60fd43f341ebb263d160c2c510c31e6ae09
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-11-10 (Sun, 10 Nov 2024)
Changed paths:
M lld/test/ELF/aarch64-feature-pac.s
Log Message:
-----------
[PAC][lld] Test warning emitted for non-PAuth-marked files with `-z pac-plt`
b6162622c054f changed semantics of `-z pac-plt` initially introduced in
e208208a3132c, so, the following comment from test/ELF/aarch64-feature-pac.s
is no longer true:
> There are no warnings in this case as the choice to use PAC in PLT entries
> is orthogonal to the choice of using PAC in relocatable objects. The
> presence of the PAC .note.gnu.property is an indication of preference by
> the relocatable object.
This patch updates the test so we ensure a warning is emitted for an
input file when `-z pac-plt` is passed but the file does not have
GNU_PROPERTY_AARCH64_FEATURE_1_PAC set in GNU_PROPERTY_AARCH64_FEATURE_1_AND
property.
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