brintos

brintos / llvm-project-archived public Read only

0
0
Text · 763 B · a9b95b1 Raw
23 lines · plain
1// REQUIRES: aarch642// RUN: llvm-mc -filetype=obj -triple=aarch64-linux-gnu %s -o %t3// RUN: ld.lld --just-symbols %t -fix-cortex-a53-843419 -o %t.axf4// RUN: llvm-readobj --symbols %t.axf | FileCheck %s5 6// Check that we can gracefully handle --just-symbols, which gives a local7// absolute mapping symbol (with no Section). Previously we assumed that all8// mapping symbols were defined relative to a section and assert failed.9 10        .text11        .global _start12        .type _start, %function13_start: ret14 15// CHECK:     Name: $x16// CHECK-NEXT:     Value: 0x017// CHECK-NEXT:     Size: 018// CHECK-NEXT:     Binding: Local (0x0)19// CHECK-NEXT:     Type: None (0x0)20// CHECK-NEXT:     Other: 021// CHECK-NEXT:     Section: Absolute (0xFFF1)22// CHECK-NEXT:   }23