Skip to content

Commit 57eed15

Browse files
committed
Testing the storage mapping class of ehinfo using the integrated assembler
1 parent 77bb77c commit 57eed15

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

llvm/test/CodeGen/PowerPC/aix-ehinfo-sym.ll

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
; RUN: llc -mtriple powerpc64-ibm-aix -fast-isel -verify-machineinstrs < %s | \
55
; RUN: FileCheck %s
66

7+
; RUN: llc -mtriple powerpc64-ibm-aix -verify-machineinstrs -filetype=obj \
8+
; RUN: -o %t.o < %s
9+
; RUN: llvm-readobj --syms %t.o | FileCheck --check-prefix=SYM %s
10+
711
; Function Attrs: nounwind
812
declare i32 @func1() #0
913

@@ -48,3 +52,10 @@ attributes #1 = { mustprogress noinline optnone }
4852

4953
; CHECK: __ehinfo.0:
5054
; CHECK: .tc __ehinfo.0[TE],__ehinfo.0
55+
56+
; SYM: Symbol {
57+
; SYM: Name: __ehinfo.0
58+
; SYM: CSECT Auxiliary Entry {
59+
; SYM: StorageMappingClass: XMC_TE (0x16)
60+
; SYM: }
61+
; SYM: }

0 commit comments

Comments
 (0)