[cfe-dev] how to generate IR file when linking

修心 haifeng_q at foxmail.com
Mon Aug 10 01:38:51 PDT 2015


HI!
 

     How the generated LLVM IR with clang? 
     Want to learn By IR files how to use the external Library type ?
 

     My code:
 

 #include <string>
#include <iostream>


int main(int argc, char* argv[])
{
std::wstring strOut = L"error msg!";
std::wcout << strOut << std::endl;

return 0;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150810/382558e2/attachment.html>


More information about the cfe-dev mailing list