[llvm] 56f6da0 - [MC][test] Test FreeBSD after D131162
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 28 23:13:57 PDT 2022
Author: Fangrui Song
Date: 2022-08-28T23:13:46-07:00
New Revision: 56f6da073ad9e2bdbc3f6a58f25b5f1bc5ee3ac6
URL: https://github.com/llvm/llvm-project/commit/56f6da073ad9e2bdbc3f6a58f25b5f1bc5ee3ac6
DIFF: https://github.com/llvm/llvm-project/commit/56f6da073ad9e2bdbc3f6a58f25b5f1bc5ee3ac6.diff
LOG: [MC][test] Test FreeBSD after D131162
Added:
Modified:
llvm/test/MC/ELF/ifunc-gnu.s
Removed:
################################################################################
diff --git a/llvm/test/MC/ELF/ifunc-gnu.s b/llvm/test/MC/ELF/ifunc-gnu.s
index dd9898cb803bb..fe80562bdcc41 100644
--- a/llvm/test/MC/ELF/ifunc-gnu.s
+++ b/llvm/test/MC/ELF/ifunc-gnu.s
@@ -1,5 +1,5 @@
-# REQUIRES: x86-registered-target
-# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux-gnu %s -o -| llvm-readelf -hs - | FileCheck %s
+# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux-gnu %s | llvm-readelf -hs - | FileCheck %s --check-prefixes=CHECK,GNU
+# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-freebsd %s | llvm-readelf -hs - | FileCheck %s --check-prefixes=CHECK,FREEBSD
.text
@@ -16,7 +16,9 @@ foo_resolver:
.set foo,foo_resolver
## ELFOSABI_NONE is changed to ELFOSABI_GNU. Other OSABI values are unchanged.
-# CHECK: OS/ABI: UNIX - GNU
+# GNU: OS/ABI: UNIX - GNU
+# FREEBSD: OS/ABI: UNIX - FreeBSD
+
# CHECK: FUNC LOCAL DEFAULT 2 foo_impl
# CHECK-NEXT: FUNC LOCAL DEFAULT 2 foo_resolver
# CHECK-NEXT: IFUNC LOCAL DEFAULT 2 foo
More information about the llvm-commits
mailing list