Skip to content

Commit 06cecdc

Browse files
committed
[MC,test] Reorganize OSABI tests
1 parent 6c97ad4 commit 06cecdc

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

llvm/test/MC/AArch64/elf_osabi_flags.s

Lines changed: 0 additions & 6 deletions
This file was deleted.

llvm/test/MC/ELF/osabi-solaris.s

Lines changed: 0 additions & 2 deletions
This file was deleted.

llvm/test/MC/ELF/osabi.s

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# REQUIRES: aarch64-registered-target
2+
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s | llvm-readobj -h - | \
3+
# RUN: FileCheck %s --check-prefix=SYSV
4+
# SYSV: OS/ABI: SystemV
5+
6+
# RUN: llvm-mc -filetype=obj -triple=amd64-solaris %s | llvm-readobj -h - | \
7+
# RUN: FileCheck %s --check-prefix=SOLARIS
8+
# SOLARIS: OS/ABI: Solaris
9+
10+
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-freebsd %s | llvm-readobj -h - | \
11+
# RUN: FileCheck %s --check-prefix=FREEBSD
12+
# FREEBSD: OS/ABI: FreeBSD

0 commit comments

Comments
 (0)