[llvm-dev] DllImport: How to specify the library to link to?

Alexander via llvm-dev llvm-dev at lists.llvm.org
Tue Feb 16 11:00:02 PST 2016


Hi,
I am absolutely new to LLVM. Currently reading through documentation and 
the C-API (which i want to use). As i am working on Windows, i was 
curios on how to specify an import which links to a function exported by 
a dll. The DLLStorageClass seems to be the wy to go, this seems clear. 
But after declaring a function for import, how do i specify the DLL the 
function is included in?


More information about the llvm-dev mailing list