<div dir="ltr">Hi,<div>When using llvm-ld to link .bc files(compiled with llvm-gcc with option --emit-llvm), I went into error like: file not recognized: File format not recognized.</div><div><br></div><div>I was confused because llvm-ld is the LLVM linker to link llvm bitcode files together, then why this error occurred?</div>
<div><br></div><div>I am using llvm 2.9 and the corresponding binary version of llvm-gcc.</div><div><br></div><div>It will be appreciated if anyone of you can help.</div><div><br></div><div>Cheers,</div><div>Ben Li</div></div>