aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorKeith Smiley <keithbsmiley@gmail.com>2022-12-22 13:39:53 -0800
committerKeith Smiley <keithbsmiley@gmail.com>2022-12-22 16:02:46 -0800
commitd6cd8d6b1987be6abc2c2e854358f72c00d910a5 (patch)
tree39fbcee6f34d8e032b22df00f856bef464469999 /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parent2e5989e8140d408cb13181430f60b6adfbf49d43 (diff)
downloadllvm-d6cd8d6b1987be6abc2c2e854358f72c00d910a5.zip
llvm-d6cd8d6b1987be6abc2c2e854358f72c00d910a5.tar.gz
llvm-d6cd8d6b1987be6abc2c2e854358f72c00d910a5.tar.bz2
[lld-macho] Use ld64's LC_LINKER_OPTIONS behavior by default
By default ld64 ignores invalid LC_LINKER_OPTIONS unless the link fails, in which case it prints a warning. Originally lld chose to be strict about these, but it has uncovered that many of these exist in open source projects today, since before developers never would have noticed this issue. In order to make adoption of lld easier, this mirrors ld64's behavior, while also adding a `--strict-auto-link-options` flag if projects want to audit their libraries for these invalid options. More discussion on https://reviews.llvm.org/D140225 Fixes https://github.com/llvm/llvm-project/issues/59627 Differential Revision: https://reviews.llvm.org/D140491
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions