
NFC processing time script identifies tests by output filename. When `/dev/null` is used as output filename, we're unable to tell the source test, and the reports are unhelpful. Replace `/dev/null/` with `%t.null` which resolves the issue.
25 lines
586 B
ArmAsm
25 lines
586 B
ArmAsm
// RUN: %clang %cflags -o %t %s
|
|
// RUN: llvm-bolt --print-cfg --print-only=_start -o %t.null %t \
|
|
// RUN: | FileCheck %s
|
|
|
|
.data
|
|
.globl d
|
|
.p2align 3
|
|
d:
|
|
.dword 0
|
|
|
|
.text
|
|
.globl _start
|
|
.p2align 1
|
|
// CHECK: Binary Function "_start" after building cfg {
|
|
_start:
|
|
nop // Here to not make the _start and .Ltmp0 symbols coincide
|
|
// CHECK: auipc t0, %pcrel_hi(d) # Label: .Ltmp0
|
|
// CHECK-NEXT: ld t0, %pcrel_lo(.Ltmp0)(t0)
|
|
ld t0, d
|
|
// CHECK-NEXT: auipc t1, %pcrel_hi(d) # Label: .Ltmp1
|
|
// CHECK-NEXT: sd t0, %pcrel_lo(.Ltmp1)(t1)
|
|
sd t0, d, t1
|
|
ret
|
|
.size _start, .-_start
|