[LLVMdev] LLVM IR for 3rd Party Library

Roel Jordans r.jordans at tue.nl
Mon Aug 11 07:39:59 PDT 2014


> if i compile the file with -S -emit-llvm flags , i get an IR file , even
> though the library is a 3rd party library IR is generated for it . How
> does it happen ?
>

Either the IR is generated when code for your 3rd party library is 
provided in source (header files), or it might be that you're only 
seeing interfacing code (function calls into the library) and not the 
full IR implementing the library functionality.

Cheers,
  Roel



More information about the llvm-dev mailing list