[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / tls-add-shift.s
blob70b6cfc95b8a65258c60b2495164d8cad91cb8f0
1 // RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj < %s -o - | \
2 // RUN: llvm-objdump -r -d - | FileCheck %s
4 // TLS add TPREL
5 add x2, x1, #:tprel_hi12:var
6 // CHECK: add x2, x1, #0, lsl #12
7 // CHECK-NEXT: R_AARCH64_TLSLE_ADD_TPREL_HI12 var
9 // TLS add DTPREL
10 add x4, x3, #:dtprel_hi12:var
11 // CHECK: add x4, x3, #0, lsl #12
12 // CHECK-NEXT: R_AARCH64_TLSLD_ADD_DTPREL_HI12 var