[PATCH] D45195: Add --check-library-dependency to maintain compatibility with other linkers

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 6 02:23:18 PDT 2018


grimar added a comment.

FWIW, `--detect-backrefs` sounds better for me than `--backrefs`.

Also can suggest `-no-backrefs`.



================
Comment at: lld/ELF/Driver.cpp:629
+  Config->CheckLibraryDependency = Args.hasFlag(
+      OPT_check_library_dependency, OPT_no_check_library_dependency, false);
   Config->CheckSections =
----------------
Does it make sense to enable it by default?



https://reviews.llvm.org/D45195





More information about the llvm-commits mailing list