about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-12 04:27:08 +0000
committerbors <bors@rust-lang.org>2024-09-12 04:27:08 +0000
commit1f51450c6826cc4c3d1089cd3f57089a14f49190 (patch)
treecde7b2a6b622370f422baffbfbfb08f9332cef54 /compiler/rustc_resolve/src
parent6c65d4f47f82836f303026ec70f752e30d586bd4 (diff)
parent3810386bbe95e989d399a2d46d806bcf7c607c06 (diff)
downloadrust-1f51450c6826cc4c3d1089cd3f57089a14f49190.tar.gz
rust-1f51450c6826cc4c3d1089cd3f57089a14f49190.zip
Auto merge of #117465 - paulmenage:small-data-limit, r=compiler-errors
Add -Z small-data-threshold

This flag allows specifying the threshold size above which LLVM should not consider placing small objects in a `.sdata` or `.sbss` section.

Support is indicated in the target options via the
small-data-threshold-support target option, which can indicate either an
LLVM argument or an LLVM module flag.  To avoid duplicate specifications
in a large number of targets, the default value for support is
DefaultForArch, which is translated to a concrete value according to the
target's architecture.
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions