about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-12-03 21:55:29 +0100
committerGitHub <noreply@github.com>2024-12-03 21:55:29 +0100
commit9a972146c29c21f607c6638c7dd1704070285aa5 (patch)
tree5bbd9724c858f96b77f340e24397196e5bd6c8e0 /compiler/rustc_codegen_llvm/src
parent12519a6acd853007eb01bd7588bcfa1114a71331 (diff)
parent89b70b919656bc8d1b119dc1ce4f882e3da0d4fc (diff)
downloadrust-9a972146c29c21f607c6638c7dd1704070285aa5.tar.gz
rust-9a972146c29c21f607c6638c7dd1704070285aa5.zip
Rollup merge of #133811 - mustartt:change-default-codemodel, r=jieyouxu
[AIX] change AIX default codemodel=large

On AIX, for most libraries, we run out of Table of Contents (TOC) offsets very quickly due to the default 16-bit offset limit. We want the large code model should be used as the default to provide more TOC entries so the end user does not have to specify `-Ccode-model=large` for all their packages. This is even more of an issue with ThinLTO as the ThinLTO globals can very quickly use all available TOC entry.

In addition, on AIX, code with different code-model across different compilation units will not cause undefined behavior, so this is safe to do.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions