summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ELF/pr19430.s
blob: 3ba6d729b4be7f798b28c1672cfbadc645ecc3ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: llvm-mc -triple x86_64-pc-linux-gnu %s -filetype=obj -o - | llvm-readobj -r | FileCheck %s

// Test that we can use .cfi_startproc without a global symbol.

.text
.space 1000
.cfi_startproc
 .cfi_endproc

// CHECK:      Relocations [
// CHECK-NEXT:   Section ({{.*}}) .rela.eh_frame {
// CHECK-NEXT:     0x20 R_X86_64_PC32 .text 0x3E8
// CHECK-NEXT:   }
// CHECK-NEXT: ]
OpenPOWER on IntegriCloud