[PATCH] D13146: Restore test coverage for other than ELFOSABI_NONE

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 14:50:26 PDT 2015


emaste created this revision.
emaste added a reviewer: rafael.
emaste added a subscriber: llvm-commits.

After r248534 there was no test coverage for outputting ELF OSABI other than ELFOSABI_NONE. Add a FreeBSD test to cover this.

http://reviews.llvm.org/D13146

Files:
  test/MC/AArch64/elf_osabi_flags.s

Index: test/MC/AArch64/elf_osabi_flags.s
===================================================================
--- test/MC/AArch64/elf_osabi_flags.s
+++ test/MC/AArch64/elf_osabi_flags.s
@@ -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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13146.35676.patch
Type: text/x-patch
Size: 606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150924/431e8732/attachment.bin>


More information about the llvm-commits mailing list