2

the c++ code:

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

use clang & lli:

clang++ -S -emit-llvm hello.cpp -o hello.ll

lli.exe hello.ll

It reports a fatal error, something like "Program used external function ??_7type_info@@6B@ which could not be resolved". How can I resolve that linking issue? the symbol ??_7type_info@@6B@ is defined in?

JKRT
  • 1,179
  • 12
  • 25
yuucyf
  • 21
  • 2

0 Answers0