What this accomplishes is listed in the summary and isn't meant to be opaque. https://reviews.llvm.org/D35998 in theory has a way to see it work, you can ask them for an in tree test case.
Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Feb 11 2020
Dec 20 2019
This version is buggy and doesn't work. The version of the fix in https://reviews.llvm.org/D32461 is better in my port and works even in the trivial cases. So the question is, is there any case not fixed by it?
May 2 2018
The GNU ld documentation says that patterns are archive:file in:
May 15 2017
Apr 24 2017
Mar 15 2017
[ dup from list, I thought Phabricator would include it, it didn't seem to ]