[PATCH] D48502: Fix direct calls to __wrap_sym when it is relocated
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 26 02:48:57 PDT 2018
ruiu added a comment.
This problem is tricky. The issue is that when we rename wrap_foo -> foo by overwriting foo with wrap_foo's contents, we now have two copies of the same symbol, foo and wrap_foo. There might be some way to avoid this duplication, but I'm not completely sure how we can do that. Maybe this patch is the best way to fix it, but I want to think harder about it. Let me think more about it tomorrow.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D48502
More information about the llvm-commits
mailing list