diff options
author | Jacek Caban <jacek@codeweavers.com> | 2024-03-13 13:27:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 13:27:20 +0100 |
commit | 203757776826cfd164c537048ec90f5ada50cae2 (patch) | |
tree | 3ece6505a90c30e1a73de4f4896698f7a0524f32 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | c18e1215c4f387058961651148be730144d3537b (diff) | |
download | llvm-203757776826cfd164c537048ec90f5ada50cae2.zip llvm-203757776826cfd164c537048ec90f5ada50cae2.tar.gz llvm-203757776826cfd164c537048ec90f5ada50cae2.tar.bz2 |
[llvm-ar] Use COFF archive format for COFF targets. (#82898)
Detect COFF files by default and allow specifying it with --format
argument.
This is important for ARM64EC, which uses a separated symbol map for EC
symbols. Since K_COFF is mostly compatible with K_GNU, this shouldn't
really make a difference for other targets.
This originally landed as #82642, but was reverted due to test failures
in tests using no symbol table. Since COFF symbol can't express it,
fallback to GNU format in that case.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions