2014-11-28 01:13:51 +08:00
|
|
|
// RUN: llvm-mc -triple x86_64-pc-linux-gnu %s -filetype=obj -o - | llvm-readobj -r | FileCheck %s
|
2014-06-23 23:34:32 +08:00
|
|
|
|
|
|
|
// Test that we can use .cfi_startproc without a global symbol.
|
|
|
|
|
|
|
|
.text
|
|
|
|
.space 1000
|
|
|
|
.cfi_startproc
|
|
|
|
.cfi_endproc
|
|
|
|
|
|
|
|
// CHECK: Relocations [
|
2015-04-29 21:55:07 +08:00
|
|
|
// CHECK-NEXT: Section ({{.*}}) .rela.eh_frame {
|
2014-06-23 23:34:32 +08:00
|
|
|
// CHECK-NEXT: 0x20 R_X86_64_PC32 .text 0x3E8
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|