kripken/emscripten — Issue #122: llvm-link and multiple defined symbols
Author: Edrom01
Created: 2011-11-22 16:25:48+00:00
State: open

Ok, I know that this is not directly related to emscripten but llvm-link is a tools you have to use when using emscripten so...
I would like to know how to handle when llvm-link fails because of multiple defined symbol. The tool is very limited and there is no options to deal with this problem.

I had written a tool using llvm-nm to list all symbol and compare all files, then with llvm-extract I keep only the good one... but it's a mess and it doesn't work really well...

Modify the source code is not an option because it's not mine.