diff options
| author | Daniel Kiss <daniel.kiss@arm.com> | 2025-10-22 09:29:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-22 09:29:06 +0200 |
| commit | 048070ba6f28d3a0a788d71788320549527db94f (patch) | |
| tree | 47d4ede5817740946584c0e01df30931e5572d74 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 5ad2487f9776e1a5d5a38da8d34fcecc90fa891b (diff) | |
[ARM][AArch64] BTI,GCS,PAC Module flag update. (#86212)
Module flag is used to indicate the feature to be propagated to the
function. As now the frontend emits all attributes accordingly let's
help the auto upgrade to only do work when old and new bitcodes are
merged.
Depends on #82819 and #86031
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
| -rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index aaee1f0a7687..cf7efbfab65c 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -7143,6 +7143,8 @@ Error BitcodeReader::materializeModule() { UpgradeARCRuntime(*TheModule); + copyModuleAttrToFunctions(*TheModule); + return Error::success(); } |
