Hi Andrii, > May be is there some workaround? Like joining all the modules in one > and then optimize it. Unfortunately I couldn't find a way to join modules. llvm-link does this. Ciao, Duncan.