llvm-ld infinite loop on bc archive #1370
Labels
bugzilla
Issues migrated from bugzilla
llvm-tools
All llvm tools that do not have corresponding tag
quality-of-implementation
Extended Description
llvm-ld can (and did) go into an infinite loop while processing a bytecode
archive. Cleaned up the loop in LinkArchive.cpp -- it shouldn't be an infinite
loop. The code should have implemented a loop that keeps processing this
archive until the set of undefined symbols doesn't change.
Also, bytecode archives improperly get fed to the native linker. At least Linux
bitches about malformed archives when this happens, YMMV.
The text was updated successfully, but these errors were encountered: