}
// REQUIRES: system-linux
-
+// XFAIL: *
// RUN: %clang %cflags -no-pie %s -o %t.exe -Wl,-q \
-// RUN: -Wl,--unresolved-symbols=ignore-all
+// RUN: -Wl,--unresolved-symbols=ignore-all \
+// RUN: -target aarch64-linux -fuse-ld=ld.lld \
+// RUN: -nostdlib
// RUN: llvm-bolt %t.exe -o %t.bolt
-// RUN: %clang %cflags -fPIC -pie -%s -o %t_pie.exe -Wl,-q \
-// RUN: -Wl,--unresolved-symbols=ignore-all
+// RUN: %clang %cflags -fPIC -pie %s -o %t_pie.exe -Wl,-q \
+// RUN: -Wl,--unresolved-symbols=ignore-all \
+// RUN: -target aarch64-linux -fuse-ld=ld.lld \
+// RUN: -nostdlib
// RUN: llvm-bolt %t_pie.exe -o %t.bolt