brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 9d57776 Raw
28 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t3 4# RUN: not ld.lld %t --fix-cortex-a53-843419 -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR-8434195# ERR-843419: error: --fix-cortex-a53-843419 is only supported on AArch646 7# RUN: not ld.lld %t --be8 -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR-BE88# ERR-BE8: error: --be8 is only supported on ARM targets9 10# RUN: not ld.lld %t --pcrel-optimize -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR-PCREL11# ERR-PCREL: error: --pcrel-optimize is only supported on PowerPC64 targets12 13# RUN: not ld.lld %t --toc-optimize -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR-TOC14# ERR-TOC: error: --toc-optimize is only supported on PowerPC64 targets15 16# RUN: not ld.lld %t -z execute-only-report=warning -o /dev/null 2>&1 | \17# RUN:     FileCheck %s --check-prefix=ERR-EXECUTE-ONLY18# RUN: not ld.lld %t -z execute-only-report=error -o /dev/null 2>&1 | \19# RUN:     FileCheck %s --check-prefix=ERR-EXECUTE-ONLY20# ERR-EXECUTE-ONLY: error: -z execute-only-report only supported on AArch64 and ARM21 22# RUN: not ld.lld %t -z execute-only-report=foo -o /dev/null 2>&1 | \23# RUN:     FileCheck %s --check-prefix=ERR-EXECUTE-ONLY-INVALID24# ERR-EXECUTE-ONLY-INVALID: error: unknown -z execute-only-report= value: foo25 26.globl _start27_start:28