diff options
author | Jez Ng <jezng@fb.com> | 2020-12-09 15:08:05 -0800 |
---|---|---|
committer | Jez Ng <jezng@fb.com> | 2020-12-10 15:57:52 -0800 |
commit | 6a348f6158ecdb7a4bcac3f4cd1d3c5b6e80a550 (patch) | |
tree | 9c7fe8cc9574f843afdc0f4033b9be8050e88447 /clang/unittests/Tooling/SourceCodeTest.cpp | |
parent | 74d799926e557928352dcd980788cae6487e421c (diff) | |
download | llvm-6a348f6158ecdb7a4bcac3f4cd1d3c5b6e80a550.zip llvm-6a348f6158ecdb7a4bcac3f4cd1d3c5b6e80a550.tar.gz llvm-6a348f6158ecdb7a4bcac3f4cd1d3c5b6e80a550.tar.bz2 |
[lld-macho] Implement `-no_implicit_dylibs`
Dylibs that are "public" -- i.e. top-level system libraries -- are considered
implicitly linked when another library re-exports them. That is, we should load
them & bind directly to their symbols instead of via their re-exporting
umbrella library. This diff implements that behavior by default, as well as an
opt-out flag.
In theory, this is just a performance optimization, but in practice it seems
that it's needed for correctness.
Fixes llvm.org/PR48395.
Reviewed By: thakis
Differential Revision: https://reviews.llvm.org/D93000
Diffstat (limited to 'clang/unittests/Tooling/SourceCodeTest.cpp')
0 files changed, 0 insertions, 0 deletions