Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / aarch64-cortex-a53-843419-abs-mapsyms.s
blob608b1aceb0a00f9fcc1a4742ca5fa4778a20c9ea
1 // REQUIRES: aarch64
2 // RUN: llvm-mc -filetype=obj -triple=aarch64-linux-gnu %s -o %t
3 // RUN: ld.lld --just-symbols %t -fix-cortex-a53-843419 -o %t.axf
4 // RUN: llvm-readobj --symbols %t.axf | FileCheck %s
6 // Check that we can gracefully handle --just-symbols, which gives a local
7 // absolute mapping symbol (with no Section). Previously we assumed that all
8 // mapping symbols were defined relative to a section and assert failed.
10 .text
11 .global _start
12 .type _start, %function
13 _start: ret
15 // CHECK: Name: $x.0
16 // CHECK-NEXT: Value: 0x0
17 // CHECK-NEXT: Size: 0
18 // CHECK-NEXT: Binding: Local (0x0)
19 // CHECK-NEXT: Type: None (0x0)
20 // CHECK-NEXT: Other: 0
21 // CHECK-NEXT: Section: Absolute (0xFFF1)
22 // CHECK-NEXT: }