1*9880d681SAndroid Build Coastguard Worker// RUN: llvm-mc -triple x86_64-pc-linux-gnu %s -filetype=obj -o - | llvm-readobj -r | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker// Test that we can use .cfi_startproc without a global symbol. 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Worker.text 6*9880d681SAndroid Build Coastguard Worker.space 1000 7*9880d681SAndroid Build Coastguard Worker.cfi_startproc 8*9880d681SAndroid Build Coastguard Worker .cfi_endproc 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard Worker// CHECK: Relocations [ 11*9880d681SAndroid Build Coastguard Worker// CHECK-NEXT: Section ({{.*}}) .rela.eh_frame { 12*9880d681SAndroid Build Coastguard Worker// CHECK-NEXT: 0x20 R_X86_64_PC32 .text 0x3E8 13*9880d681SAndroid Build Coastguard Worker// CHECK-NEXT: } 14*9880d681SAndroid Build Coastguard Worker// CHECK-NEXT: ] 15