<div dir="ltr"><div><div>Hi,<br><br>I am looking at JIT compiling a Matlab program using LLVM.<br><br>I was able to generate the LLVM IR (.ll) for a given Matlab program but this IR has a call to native C++ function.<br><br>So I generated the LLVM IR (.ll) for the C++ file containing the native C++ function using clang.<br><br>Now, these two .ll files can be linked together by generating .bc files. But I 
could generate .bc file only for the C++ .ll file but not for Matlab .ll as
 it says the function definition could not be found...<br><br>So how could I link these two .ll files.<br><br></div>Thanks,<br></div>Shilpa<br></div>