forked from OSchip/llvm-project
![]() Linker should create _imp_ symbols for local use only when such symbols cannot be resolved in any other way. If it overrides real imported symbols, such symbols remain virtually unresolved without error, causing odd issues. I observed that a program linked with LLD entered an infinite loop before reaching main() because of this issue. This patch moves the virtual file creating _imp_ symbols to the very end of the input file list. Previously, the file is at the end of the library file group. Linker might revisit the group many times, so it was not really at the end of the input file list. llvm-svn: 207605 |
||
---|---|---|
.. | ||
Driver | ||
LinkerScript | ||
Unit | ||
core | ||
darwin | ||
elf | ||
pecoff | ||
CMakeLists.txt | ||
lit.cfg | ||
lit.site.cfg.in |