[all-commits] [llvm/llvm-project] 47f972: [lld-macho] Add --ignore-auto-link-option
Keith Smiley via All-commits
all-commits at lists.llvm.org
Tue Oct 11 16:12:14 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 47f9722c32be4b05a7b958a945d86d408607092d
https://github.com/llvm/llvm-project/commit/47f9722c32be4b05a7b958a945d86d408607092d
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
M lld/MachO/Config.h
M lld/MachO/Driver.cpp
M lld/MachO/Options.td
M lld/test/MachO/lc-linker-option.ll
Log Message:
-----------
[lld-macho] Add --ignore-auto-link-option
This provides a workaround for a small difference in ld64 behavior where
ld64 ignores invalid LC_LINKER_OPTIONS unless the link fails. Instead of
fully adopting that behavior, this provides an escape hatch by allowing
users to specify `--ignore-auto-link-option` passing the invalid library
or framework name
Fixes https://github.com/llvm/llvm-project/issues/56939
Differential Revision: https://reviews.llvm.org/D135530
More information about the All-commits
mailing list