1 ; RUN: llc -mtriple=arm64-linux-gnu < %s | FileCheck %s
2 ; RUN: llc -mtriple=arm64-linux-gnu -filetype=obj < %s | llvm-objdump - -r -d --triple=arm64-linux-gnu | FileCheck --check-prefix=CHECK-ELF %s
4 define void @foo() nounwind {
8 ; Check source looks ELF-like: no leading underscore, comments with //
12 ; Similarly make sure ELF output works and is vaguely sane: aarch64 target
13 ; machine with correct section & symbol names.
14 ; CHECK-ELF: file format ELF64-aarch64
16 ; CHECK-ELF: Disassembly of section .text
17 ; CHECK-ELF-LABEL: foo: