diff options
author | Fangrui Song <i@maskray.me> | 2022-09-20 17:12:44 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-09-20 17:12:44 -0700 |
commit | 06010fd1be3d816fdbbb53f75a26902c02b6f111 (patch) | |
tree | c188aef9087eb7d233f8a10af8bdfef3e86a3dab /clang/lib/Serialization/ModuleManager.cpp | |
parent | bd6e018472452a72ca36408ae43caf349b1c1b27 (diff) | |
download | llvm-06010fd1be3d816fdbbb53f75a26902c02b6f111.zip llvm-06010fd1be3d816fdbbb53f75a26902c02b6f111.tar.gz llvm-06010fd1be3d816fdbbb53f75a26902c02b6f111.tar.bz2 |
[ELF] Make -V an alias for -v
In GNU ld,
* --version skips linker input processing.
* -v and -V keep processing if there is any input file. -V has more
information we don't support.
We currently make -V an alias for --version which skips input processing.
On many `*-freebsd` and `powerpc-*` targets, `gcc -v` passes `-V` to ld
and expects to process input. Make -V an alias for -v to provide
compatibility.
Fix https://github.com/llvm/llvm-project/issues/57859
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions