[PATCH] D26865: [ELF] - exit on --version call

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 13:09:03 PST 2016


emaste added a comment.

Seems it's a difference in behaviour between `-v` and `--version`. AFAICT for `-v` both ld.bfd and ld.gold print a one-line version number and carry on with the link if there are args (or exit with 0 if not). For `--version` they print a multi-line version & `This program is free software` info, and do not link.


https://reviews.llvm.org/D26865





More information about the llvm-commits mailing list