brintos

brintos / llvm-project-archived public Read only

0
0
Text · 460 B · 074c5f4 Raw
23 lines · plain
1; RUN: lli -jit-kind=orc-lazy -compile-threads=2 -thread-entry hello %s | FileCheck %s2; REQUIRES: thread_support3;4; FIXME: Something hangs here.5; UNSUPPORTED: use_msan_with_origins6;7; CHECK: Hello8 9@.str = private unnamed_addr constant [7 x i8] c"Hello\0A\00", align 110 11define void @hello() {12entry:13  %call = call i32 (ptr, ...) @printf(ptr @.str)14  ret void15}16 17declare i32 @printf(ptr, ...)18 19define i32 @main(i32 %argc, ptr %argv) {20entry:21  ret i32 022}23