diff options
author | Arthur Eubanks <aeubanks@google.com> | 2023-10-04 13:06:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 13:06:23 -0700 |
commit | b7ac16c70faf7274119f393797ce89c054346f48 (patch) | |
tree | 9aaae1d8f1d96fcbc55fb56b76023a86c8150a95 /clang/lib/Format/WhitespaceManager.cpp | |
parent | 9d6ec280fc537b55ef8641ea85d3522426bc5766 (diff) | |
download | llvm-b7ac16c70faf7274119f393797ce89c054346f48.zip llvm-b7ac16c70faf7274119f393797ce89c054346f48.tar.gz llvm-b7ac16c70faf7274119f393797ce89c054346f48.tar.bz2 |
[clang] Default x86-64's medium code model -mlarge-data-threshold to 65535 (#67506)
This matches gcc.
This means that by default, under x86-64's medium code model we treat
globals < 2^16 bytes as "small data" and globals >= 2^16 bytes as "large
data".
The previous clang behavior of treating all data as "large data" can be
set with `-mlarge-data-threshold=0`.
See
https://discourse.llvm.org/t/rfc-matching-gccs-mlarge-data-threshold-for-x86-64s-medium-code-model/73727.
Diffstat (limited to 'clang/lib/Format/WhitespaceManager.cpp')
0 files changed, 0 insertions, 0 deletions