[LLVMdev] Linking

Duncan Sands baldrick at free.fr
Fri May 4 08:03:44 PDT 2012


Hi,

> I have 2 byte code files with 2 exactly same StructTypes.
>
> Is it possible to use some argument of llvm-link for getting result bytecode
> with one StructType for bytecodes, not two types like Type and Type.<some number>?

the linker automatically merges types if it thinks that it makes sense.  So it
must think that there is some kind of problem in your case.  Probably the best
thing is for you to provide an explicit example where you think the linker is
getting it wrong.

Ciao, Duncan.



More information about the llvm-dev mailing list