[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / target-specific-options.s
blob94dccd9e4a0c16b791a77f8cb9b8821eb9f66c33
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t
4 # RUN: not ld.lld %t --fix-cortex-a53-843419 -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR-843419
5 # ERR-843419: error: --fix-cortex-a53-843419 is only supported on AArch64 targets
7 # RUN: not ld.lld %t --be8 -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR-BE8
8 # ERR-BE8: error: --be8 is only supported on ARM targets
10 # RUN: not ld.lld %t --pcrel-optimize -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR-PCREL
11 # ERR-PCREL: error: --pcrel-optimize is only supported on PowerPC64 targets
13 # RUN: not ld.lld %t --toc-optimize -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR-TOC
14 # ERR-TOC: error: --toc-optimize is only supported on PowerPC64 targets
16 .globl _start
17 _start: