[all-commits] [llvm/llvm-project] 6e92f4: [lld/mac] warn on -install_name without -dylib
Nico Weber via All-commits
all-commits at lists.llvm.org
Wed Mar 10 06:14:31 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6e92f468c82bac06051675fa94f72ca2789d2bc0
https://github.com/llvm/llvm-project/commit/6e92f468c82bac06051675fa94f72ca2789d2bc0
Author: Nico Weber <thakis at chromium.org>
Date: 2021-03-10 (Wed, 10 Mar 2021)
Changed paths:
M lld/MachO/Driver.cpp
A lld/test/MachO/install-name.s
Log Message:
-----------
[lld/mac] warn on -install_name without -dylib
The flag doesn't (and shouldn't) have an effect in that case.
ld64 doesn't warn on this, but it seems like a good thing to do.
If it causes problems in practice for some reason, we can revert it.
Also add a dedicated test for install_name.
Differential Revision: https://reviews.llvm.org/D98259
More information about the All-commits
mailing list