bolt/deps/llvm-18.1.8/llvm/test/ExecutionEngine/JITLink/Generic/error-object-passed-as-archive.test
2025-02-14 19:21:04 +01:00

6 lines
226 B
Text

# RUN: llc -filetype=obj -o %t.o %S/Inputs/main-ret-0.ll
# RUN: cp %t.o %t.a
# RUN: not llvm-jitlink -noexec %t.o %t.a
#
# Try to load an object file as if it were an archive. Should result in an
# error, rather than a crash.