aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2024-07-16 10:28:09 -0700
committerGitHub <noreply@github.com>2024-07-16 10:28:09 -0700
commit6464dd21b50bb5f22a5beae1377fec501b38e764 (patch)
tree575470cdc1635e486ef382ca4075f41e2ba93b2d /clang/lib/CodeGen/CodeGenModule.cpp
parentca61bdde476aae4d179f16561ce4d245df9f0fdf (diff)
downloadllvm-6464dd21b50bb5f22a5beae1377fec501b38e764.zip
llvm-6464dd21b50bb5f22a5beae1377fec501b38e764.tar.gz
llvm-6464dd21b50bb5f22a5beae1377fec501b38e764.tar.bz2
[ELF] OUTPUT_FORMAT: support "binary" and ignore extra OUTPUT_FORMAT commands
This patch improves GNU ld compatibility. Close #87891: Support `OUTPUT_FORMAT(binary)`, which is like --oformat=binary. --oformat=binary takes precedence over an ELF `OUTPUT_FORMAT`. In addition, if more than one OUTPUT_FORMAT command is specified, only check the first one. Pull Request: https://github.com/llvm/llvm-project/pull/98837
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions