1*6d9b0759SAlex Brachet// RUN: llvm-mc -filetype=obj -triple x86_64-linux %s -o - | llvm-dwarfdump --eh-frame - | FileCheck %s 2*6d9b0759SAlex Brachet 3*6d9b0759SAlex Brachet.section .text.a, "ax", %progbits 4*6d9b0759SAlex Brachet.cfi_startproc 5*6d9b0759SAlex Brachet.cfi_def_cfa %rsp, 0 6*6d9b0759SAlex Brachet 7*6d9b0759SAlex Brachet.pushsection .text.b, "ax", %progbits 8*6d9b0759SAlex Brachet.cfi_startproc simple 9*6d9b0759SAlex Brachet.cfi_def_cfa %rsp, 8 10*6d9b0759SAlex Brachetnop 11*6d9b0759SAlex Brachetret 12*6d9b0759SAlex Brachet 13*6d9b0759SAlex Brachet.pushsection .text.c, "ax", %progbits 14*6d9b0759SAlex Brachet.cfi_startproc simple 15*6d9b0759SAlex Brachet.cfi_def_cfa %rsp, 16 16*6d9b0759SAlex Brachetnop 17*6d9b0759SAlex Brachetnop 18*6d9b0759SAlex Brachetret 19*6d9b0759SAlex Brachet.cfi_endproc 20*6d9b0759SAlex Brachet.popsection 21*6d9b0759SAlex Brachet 22*6d9b0759SAlex Brachet.cfi_endproc 23*6d9b0759SAlex Brachet.popsection 24*6d9b0759SAlex Brachet 25*6d9b0759SAlex Brachet.pushsection .text.d, "ax", %progbits 26*6d9b0759SAlex Brachet.cfi_startproc simple 27*6d9b0759SAlex Brachet.cfi_def_cfa %rsp, 24 28*6d9b0759SAlex Brachetnop 29*6d9b0759SAlex Brachetnop 30*6d9b0759SAlex Brachetnop 31*6d9b0759SAlex Brachetret 32*6d9b0759SAlex Brachet.cfi_endproc 33*6d9b0759SAlex Brachet.popsection 34*6d9b0759SAlex Brachet 35*6d9b0759SAlex Brachetret 36*6d9b0759SAlex Brachet.cfi_endproc 37*6d9b0759SAlex Brachet 38*6d9b0759SAlex Brachet// CHECK: pc=00000000...00000001 39*6d9b0759SAlex Brachet// CHECK: RSP +0 40*6d9b0759SAlex Brachet// CHECK: pc=00000000...00000002 41*6d9b0759SAlex Brachet// CHECK: RSP +8 42*6d9b0759SAlex Brachet// CHECK: pc=00000000...00000003 43*6d9b0759SAlex Brachet// CHECK: RSP +16 44*6d9b0759SAlex Brachet// CHECK: pc=00000000...00000004 45*6d9b0759SAlex Brachet// CHECK: RSP +24 46