diff options
author | Arthur Eubanks <aeubanks@google.com> | 2023-12-05 08:26:08 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 08:26:08 -0800 |
commit | 323451ab88866c42c87971cbc670771bd0d48692 (patch) | |
tree | b8d8d1a8f2a529300c5179aea92839df9c977dff /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f1db578f0d0f9d83f8b8b88d92ad5397377a74b2 (diff) | |
download | llvm-323451ab88866c42c87971cbc670771bd0d48692.zip llvm-323451ab88866c42c87971cbc670771bd0d48692.tar.gz llvm-323451ab88866c42c87971cbc670771bd0d48692.tar.bz2 |
[X86] Set SHF_X86_64_LARGE for globals with explicit well-known large section name (#74381)
Globals marked with the .lbss/.ldata/.lrodata should automatically be
treated as large.
Do this regardless of the code model for consistency when mixing object
files compiled with different code models.
Basically the other half of #70748.
Example in the wild:
https://codebrowser.dev/qt5/qtbase/src/testlib/qtestcase.cpp.html#1664
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions