[all-commits] [llvm/llvm-project] e2e776: [AArch64] Always add PURECODE flag to empty .text ...
Csanád Hajdú via All-commits
all-commits at lists.llvm.org
Mon Mar 24 03:19:47 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e2e776c867c691ec57eb4effc7dcc27d6a5f2c04
https://github.com/llvm/llvm-project/commit/e2e776c867c691ec57eb4effc7dcc27d6a5f2c04
Author: Csanád Hajdú <csanad.hajdu at arm.com>
Date: 2025-03-24 (Mon, 24 Mar 2025)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
A llvm/test/CodeGen/AArch64/execute-only-empty.ll
Log Message:
-----------
[AArch64] Always add PURECODE flag to empty .text if "+execute-only" is set (#132196)
Previously, the `SHF_AARCH64_PURECODE` section flag wasn't added to the
implicitly created `.text` section if the module didn't contain any
functions, because no other section had the flag set.
Now, the `SHF_AARCH64_PURECODE` is always added if the "+execute-only"
target feature is set for the module during compilation.
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