OLD | NEW |
1 ; Test of global redzone layout | 1 ; Test of global redzone layout |
2 | 2 |
3 ; REQUIRES: allow_dump | 3 ; REQUIRES: allow_dump |
4 | 4 |
5 ; RUN: %p2i -i %s --args -threads=0 -fsanitize-address \ | 5 ; RUN: %p2i -i %s --args -threads=0 -fsanitize-address \ |
6 ; RUN: | %iflc FileCheck %s | 6 ; RUN: | FileCheck %s |
7 ; RUN: %p2i -i %s --args -verbose=global_init,inst -threads=0 \ | 7 ; RUN: %p2i -i %s --args -verbose=global_init,inst -threads=0 \ |
8 ; RUN: -fsanitize-address | %iflc FileCheck --check-prefix=DUMP %s | 8 ; RUN: -fsanitize-address | FileCheck --check-prefix=DUMP %s |
9 | 9 |
10 ; The array of redzones | 10 ; The array of redzones |
11 | 11 |
12 ; DUMP-LABEL: ========= Instrumented Globals ========= | 12 ; DUMP-LABEL: ========= Instrumented Globals ========= |
13 ; DUMP: @__$rz0 = internal constant <{ i32, i32, i32, i32, i32, i32 }> | 13 ; DUMP: @__$rz0 = internal constant <{ i32, i32, i32, i32, i32, i32 }> |
14 ; DUMP: <{ i32 ptrtoint ([32 x i8]* @__$rz2 to i32), i32 ptrtoint ([32 x
i8]* @__$rz3 to i32), | 14 ; DUMP: <{ i32 ptrtoint ([32 x i8]* @__$rz2 to i32), i32 ptrtoint ([32 x
i8]* @__$rz3 to i32), |
15 ; DUMP: i32 ptrtoint ([32 x i8]* @__$rz4 to i32), i32 ptrtoint ([32 x i8
]* @__$rz5 to i32), | 15 ; DUMP: i32 ptrtoint ([32 x i8]* @__$rz4 to i32), i32 ptrtoint ([32 x i8
]* @__$rz5 to i32), |
16 ; DUMP: i32 ptrtoint ([32 x i8]* @__$rz6 to i32), i32 ptrtoint ([32 x i8
]* @__$rz7 to i32) }> | 16 ; DUMP: i32 ptrtoint ([32 x i8]* @__$rz6 to i32), i32 ptrtoint ([32 x i8
]* @__$rz7 to i32) }> |
17 ; DUMP-NEXT: @__$rz1 = internal constant [4 x i8] c"\06\00\00\00"
| 17 ; DUMP-NEXT: @__$rz1 = internal constant [4 x i8] c"\06\00\00\00"
|
18 | 18 |
(...skipping 64 matching lines...) Loading... |
83 ; CHECK-LABEL: .type __$rz7,%object | 83 ; CHECK-LABEL: .type __$rz7,%object |
84 ; CHECK-NEXT: .section .data | 84 ; CHECK-NEXT: .section .data |
85 ; CHECK-NEXT: __$rz7: | 85 ; CHECK-NEXT: __$rz7: |
86 | 86 |
87 define internal void @func() { | 87 define internal void @func() { |
88 ret void | 88 ret void |
89 } | 89 } |
90 | 90 |
91 ; DUMP-LABEL: define internal void @func() { | 91 ; DUMP-LABEL: define internal void @func() { |
92 ; CHECK-LABEL: func: | 92 ; CHECK-LABEL: func: |
OLD | NEW |