Skip to content

Commit

Permalink
Auto merge of #117465 - paulmenage:small-data-limit, r=compiler-errors
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Sep 12, 2024
2 parents b1132d6 + 97fdcae commit 599b3bd
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 599b3bd

Please sign in to comment.