Displaying 2 results from an estimated 2 matches for "794bbebb".
2016 May 13
3
Creating and using "shared library" of LLVM IR
...s build system. If there's
no other way, I could go in and change the build scripts, but I'd like to
avoid doing that as much as possible.
Tarun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160513/794bbebb/attachment.html>
2016 May 13
2
Creating and using "shared library" of LLVM IR
I am trying to use LLVM to get the IR for a whole program. The program's
Makefile is somewhat complicated so I have written wrappers which emit LLVM
IR at every step in the process instead of ELF object files and
executables. My problem is that during linking, I get "multiple definition"
errors. Here is a small example:
file: a.c
---------
int f_a(int m) { return m + 1; }
file: