This change revisits https://reviews.llvm.org/D79248 which originally
added support for the --unresolved-symbols flag.
At the time I thought it would make sense to add a third option to this
flag called import-functions but it turns out (as was suspects by one
the reviewers IIRC) that this option can be orthogonal.
Instead I've added a new option called --import-undefined that only
operates on symbols that can be imported (for example, function symbols
can always be imported as opposed to data symbols we can only be
imported when compiling with PIC).
This option gives us the full expresivitiy that emscripten needs to be
able allow reporting of undefined data symbols as well as the option to
disable that.
This change does remove the --unresolved-symbols=import-functions
option, which is been in the codebase now for about a year but I would
be extremely surprised if anyone was using it.
is this missing a ` character or phab's markdown rendering just confused?