Restore test coverage for other than ELFOSABI_NONE
authorEd Maste <emaste@freebsd.org>
Thu, 24 Sep 2015 23:01:16 +0000 (23:01 +0000)
committerEd Maste <emaste@freebsd.org>
Thu, 24 Sep 2015 23:01:16 +0000 (23:01 +0000)
Add a FreeBSD test to restore testing of ELF OSABI other than
ELFOSABI_NONE after r248534.

Differential Revision: http://reviews.llvm.org/D13146

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248550 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/AArch64/elf_osabi_flags.s

index 0e683ee806c22815626234af059bdadce693f5bc..42c56f043f2b71092c107f201695e88c0dc1ad1b 100644 (file)
@@ -1,4 +1,6 @@
 # RUN: llvm-mc -filetype=obj -triple aarch64 %s -o -| llvm-readobj -h | FileCheck %s
 # RUN: llvm-mc -filetype=obj -triple aarch64-linux-gnu %s -o -| llvm-readobj -h | FileCheck %s
-
 # CHECK: OS/ABI: SystemV (0x0)
+
+# RUN: llvm-mc -filetype=obj -triple aarch64-unknown-freebsd %s -o -| llvm-readobj -h | FileCheck --check-prefix=AARCH64-FREEBSD-OSABI %s
+# AARCH64-FREEBSD-OSABI: OS/ABI: FreeBSD (0x9)