Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Side by Side Diff: tests_lit/asan_tests/globalredzones.ll

Issue 2068593003: Implemented linking to a dummy ASan runtime (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes in szbuild.py Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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...) Expand 10 before | Expand all | Expand 10 after
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:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698