Supports dynamic VC runtime. It implements atexits handling which is required to load msvcrt.lib successfully. (the object file containing atexit symbol somehow resolves to static vc runtim symbols) It also default to dynamic vc runtime which tends to be more robust. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D132525
10 lines
218 B
C++
10 lines
218 B
C++
// RUN: %clang_cl -MD -c -o %t %s
|
|
// RUN: %llvm_jitlink %t 2>&1 | FileCheck %s
|
|
// CHECK: Hello, world!
|
|
|
|
#include <iostream>
|
|
int main(int argc, char *argv[]) {
|
|
std::cout << "Hello, world!" << std::endl;
|
|
return 0;
|
|
}
|