about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/allocator.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-07 20:28:18 +0200
committerGitHub <noreply@github.com>2024-08-07 20:28:18 +0200
commit8f39b86a6ab3d206d2e518b3d4c17c5b3243a60b (patch)
tree0d20e924b8f89c923f745aad4687cfd8ae1970cd /compiler/rustc_codegen_llvm/src/allocator.rs
parente34229508a3885dfc429c6cd6c815bb94ad808d1 (diff)
parent273c67db83caf0260956b87dd976a7727e4d2cd3 (diff)
downloadrust-8f39b86a6ab3d206d2e518b3d4c17c5b3243a60b.tar.gz
rust-8f39b86a6ab3d206d2e518b3d4c17c5b3243a60b.zip
Rollup merge of #128679 - RalfJung:codegen-fn-attrs, r=nikic
codegen: better centralize function declaration attribute computation

For some reason, the codegen backend has two functions that compute which attributes a function declaration gets: `apply_attrs_llfn` and `attributes::from_fn_attrs`. They are called in different places, on entirely different layers of abstraction.

To me the code seems cleaner if we centralize this entirely in `apply_attrs_llfn`, so that's what this PR does.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/allocator.rs')
0 files changed, 0 insertions, 0 deletions