[PATCH] D52094: lld: add -z interpose support

Ed Maste via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 14 07:06:44 PDT 2018


emaste added a subscriber: dim.
emaste added a comment.

See also https://reviews.freebsd.org/D17172 for a lld 6 version intended for commit to FreeBSD's in-tree lld.



================
Comment at: test/ELF/dt_flags.s:10-13
+# RUN: ld.lld -z interpose \
+# RUN:   -Bsymbolic %t %t.so -o %t1
+# RUN: llvm-readobj -dynamic-table %t1 | FileCheck -check-prefix=INTERPOSE %s
+
----------------
I think it makes sense to validate flags individually to ensure we don't mix up bits or accidentally set flags we shouldn't, but I will just add it to the list in `FLAGS:` above if that's desired.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D52094





More information about the llvm-commits mailing list