xref: /llvm-project-15.0.7/lld/test/MachO/invalid/invalid-executable.s (revision 4e00a192)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-darwin %s -o %t.o
3# RUN: %lld -o %t %t.o
4# RUN: not %lld -o /dev/null %t 2>&1 | FileCheck %s -DFILE=%t
5# CHECK: error: [[FILE]]: unhandled file type
6
7.text
8.global _main
9_main:
10  mov $0, %rax
11  ret
12

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025