I compile the simplest program Hello World

#include <iostream> int main() { std::cout << "hello world\n"; return 0; } 

With the help of the command

 clang++ -emit-llvm -S bla.cpp 

Then run the resulting bytecode:

 lli bla.ll 

And I get the error:

 LLVM ERROR: Program used external function '__dso_handle' which could not be resolved! 

I use Fedora Linux 23 64-bit

  • key -lstdc++ ? - exebook

0