[PATCH] D27578: Change the implementation of --dynamic-list to use linker script parsing

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 10:51:43 PST 2016


pcc added a comment.

In https://reviews.llvm.org/D27578#617334, @pcc wrote:

> In gc-sections-shared.s don't we need to keep bar to maintain function pointer identity? In fact, this is what both bfd and gold do on my machine.


Perhaps more significantly, this seems like it would break function preemption. The sanitizers use `--dynamic-list`, so I think this would break preemption in any program built with a sanitizer.


https://reviews.llvm.org/D27578





More information about the llvm-commits mailing list