<div dir="auto"><div>Hi Ahmed,<div dir="auto">I don't know if I understood you problem properly but can't you just compile the projects separately in bitcode and link them using llvm-link? Can you create a GitHub repo with a similar struct so it'd be easier to help?</div><div dir="auto"><br></div><div dir="auto">Thanks</div><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 1, 2019, 21:41 hameeza ahmed via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,</div><div>I have different codes with separate files with functions implemented. I want to view all function definitions/ instructions in single IR. I am able to do this by llvm-link for codes which have definition implemented in .c files...</div><div>But there are some codes which have definitions instructions in header files. These functions are called from .c file. I want to have a single IR with all the definitions of the called functions that are implemented in header files..</div><div><br></div><div>How to do this?</div><div>Please help...</div><div><br></div><div>Thank You</div><div>Regards<br></div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" rel="noreferrer">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div></div>