[LLD][ELF] --wrap: __real_foo references should trigger archive extraction for foo
A reference to __real_foo should trigger archive extraction of the input file that defines foo, otherwise a link using --wrap=foo might fail to link with an undefined reference to foo. This matches bfd linker behaviour. Differential Revision: https://reviews.llvm.org/D135897
Loading
Please sign in to comment