diff options
author | Jonas Paulsson <paulson1@linux.ibm.com> | 2024-01-27 18:29:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-27 18:29:37 +0100 |
commit | 34dd8ec8aec17965313b17308faaa6272c235c53 (patch) | |
tree | 028c7c92ca2e22091acca7bba07b8fd5baa9e25f /llvm/tools/llvm-cov/SourceCoverageView.cpp | |
parent | 718aac9f7a19227b5c5ec85819a3a5ae24ce32e1 (diff) | |
download | llvm-34dd8ec8aec17965313b17308faaa6272c235c53.zip llvm-34dd8ec8aec17965313b17308faaa6272c235c53.tar.gz llvm-34dd8ec8aec17965313b17308faaa6272c235c53.tar.bz2 |
[clang, SystemZ] Support -munaligned-symbols (#73511)
When this option is passed to clang, external (and/or weak) symbols
are not assumed to have the minimum ABI alignment normally required.
Symbols defined locally that are not weak are however still given the
minimum alignment.
This is implemented by passing a new parameter to getMinGlobalAlign()
named HasNonWeakDef that is used to return the right alignment value.
This is needed when external symbols created from a linker script may
not get the ABI minimum alignment and must therefore be treated as
unaligned by the compiler.
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.cpp')
0 files changed, 0 insertions, 0 deletions