bolt/deps/llvm-18.1.8/llvm/test/ExecutionEngine/OrcLazy/comdat-functions.ll

17 lines
352 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; REQUIRES: system-windows
; RUN: lli -jit-kind=orc-lazy -extra-module %p/Inputs/comdat-functions.ll %s
; Check if crashing comdat any functions are not causing duplicate symbol error.
$baz = comdat any
define i32 @baz() comdat {
entry:
ret i32 0
}
define i32 @main(i32 %argc, i8** %argv) {
entry:
%call = tail call i32 @baz()
ret i32 %call
}