Skip to content

Commit

Permalink
[MC,test] Reorganize OSABI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Jul 10, 2024
1 parent 6c97ad4 commit 06cecdc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
6 changes: 0 additions & 6 deletions llvm/test/MC/AArch64/elf_osabi_flags.s

This file was deleted.

2 changes: 0 additions & 2 deletions llvm/test/MC/ELF/osabi-solaris.s

This file was deleted.

12 changes: 12 additions & 0 deletions llvm/test/MC/ELF/osabi.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# REQUIRES: aarch64-registered-target
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s | llvm-readobj -h - | \
# RUN: FileCheck %s --check-prefix=SYSV
# SYSV: OS/ABI: SystemV

# RUN: llvm-mc -filetype=obj -triple=amd64-solaris %s | llvm-readobj -h - | \
# RUN: FileCheck %s --check-prefix=SOLARIS
# SOLARIS: OS/ABI: Solaris

# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-freebsd %s | llvm-readobj -h - | \
# RUN: FileCheck %s --check-prefix=FREEBSD
# FREEBSD: OS/ABI: FreeBSD

0 comments on commit 06cecdc

Please sign in to comment.