search for: 13fc19de

Displaying 1 result from an estimated 1 matches for "13fc19de".

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: