[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / aarch64-mapsyms-implicit.s
blob42f24ff8a830ebf1e733c63f72f084303b920a8c
1 # REQUIRES: aarch64
2 # RUN: llvm-mc -filetype=obj -triple=aarch64 -implicit-mapsyms %s -o %t.o
3 # RUN: ld.lld %t.o -z keep-text-section-prefix -o %t
4 # RUN: llvm-objdump -d --no-print-imm-hex --show-all-symbols %t | FileCheck %s
6 # CHECK: <_start>:
7 # CHECK-NEXT: nop
8 # CHECK-EMPTY:
9 # CHECK-NEXT: <$d>:
10 # CHECK-NEXT: .word 0x0000002a
11 # CHECK-EMPTY:
12 # CHECK-NEXT: <$x>:
13 # CHECK-NEXT: nop
14 # CHECK-EMPTY:
15 # CHECK-NEXT: Disassembly of section .text.hot:
16 # CHECK-EMPTY:
17 # CHECK-NEXT: <.text.hot>:
18 # CHECK-NEXT: nop
19 # CHECK-EMPTY:
20 # CHECK-NEXT: <$d>:
21 # CHECK-NEXT: .word 0x0000002a
22 # CHECK-EMPTY:
23 # CHECK-NEXT: <$d>:
24 # CHECK-NEXT: <$x>:
25 # CHECK-NEXT: udf #42
26 # CHECK-EMPTY:
27 # CHECK-NEXT: <$x>:
28 # CHECK-NEXT: nop
30 ## Trailing data followed by a section starting with an instruction.
31 .section .text.1,"ax"
32 .globl _start
33 _start:
34 nop
35 .long 42
36 .section .text.2,"ax"
37 nop
39 ## Trailing data followed by a section starting with a data directive.
40 .section .text.hot.1,"ax"
41 nop
42 .long 42
43 .section .text.hot.2,"ax"
44 .long 42
45 nop