summaryrefslogtreecommitdiff
path: root/test/Assembler
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-07-30 21:30:54 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-07-30 21:30:54 +0000
commitb8a5a1aa57ed8ccd5a02ecb4c3e01d38941aae42 (patch)
tree4ab47558bef3640b38b56602ef99720127ba1b24 /test/Assembler
parente3e23cd8175e0cf942b47985c6b6deff0e88e354 (diff)
test: add an additional cfi_return_column test
Ensure that we still coalesce identical CIEs across FDEs even with cfi_return_column alterations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309525 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler')
-rw-r--r--test/Assembler/return-column.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Assembler/return-column.s b/test/Assembler/return-column.s
index 03eb4961ec6..6d57923a3cb 100644
--- a/test/Assembler/return-column.s
+++ b/test/Assembler/return-column.s
@@ -20,6 +20,14 @@ g:
.cfi_return_column 65
.cfi_endproc
+ .section .text.h,"ax",@progbits
+ .global h
+ .type g,@function
+h:
+ .cfi_startproc
+ .cfi_return_column 65
+ .cfi_endproc
+
// CHECK-ASM-ROUNDTRIP-LABEL: f:
// CHECK-ASM-ROUNDTRIP: .cfi_startproc
// CHECK-ASM-ROUNDTRIP-NEXT: .cfi_return_column 0