[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git] / lld / test / ELF / hexagon-eflag.s
blobdbe8604f69fda32909a64af2eb4d22072baa30ad
1 # REQUIRES: hexagon
2 # RUN: llvm-mc -filetype=obj -mv62 -triple=hexagon-unknown-elf %s -o %t
3 # RUN: llvm-mc -filetype=obj -mv60 -triple=hexagon-unknown-elf %S/Inputs/hexagon.s -o %t2
4 # RUN: ld.lld %t2 %t -o %t3
5 # RUN: llvm-readelf -h %t3 | FileCheck %s
6 # Verify that the largest arch in the input list is selected.
7 # CHECK: Flags: 0x62
9 # RUN: llvm-ar rcsD %t4
10 # RUN: ld.lld -m hexagonelf %t4 -o %t5
11 # RUN: llvm-readelf -h %t5 | FileCheck --check-prefix=CHECK-EMPTYARCHIVE %s
12 # CHECK-EMPTYARCHIVE: Flags: 0x60