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

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

Issue 2095763002: Instrumented local variables and implemented runtime. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Organizational Fixes Created 4 years, 5 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 for a call to __asan_check() preceding stores 1 ; Test for a call to __asan_check() preceding stores
2 2
3 ; REQUIRES: allow_dump 3 ; REQUIRES: allow_dump
4 4
5 ; RUN: %p2i -i %s --args -verbose=inst -threads=0 -fsanitize-address \ 5 ; RUN: %p2i -i %s --args -verbose=inst -threads=0 -fsanitize-address \
6 ; RUN: | FileCheck --check-prefix=DUMP %s 6 ; RUN: | FileCheck --check-prefix=DUMP %s
7 7
8 ; A global to store data to 8 ; A global to store data to
9 @destGlobal8 = internal global [1 x i8] zeroinitializer 9 @destGlobal8 = internal global [1 x i8] zeroinitializer
10 @destGlobal16 = internal global [2 x i8] zeroinitializer 10 @destGlobal16 = internal global [2 x i8] zeroinitializer
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 ; DUMP-NEXT: call void @__asan_check(i32 %destLocal8, i32 1) 63 ; DUMP-NEXT: call void @__asan_check(i32 %destLocal8, i32 1)
64 ; DUMP-NEXT: store i8 42, i8* %destLocal8, align 1 64 ; DUMP-NEXT: store i8 42, i8* %destLocal8, align 1
65 ; DUMP-NEXT: call void @__asan_check(i32 %destLocal16, i32 2) 65 ; DUMP-NEXT: call void @__asan_check(i32 %destLocal16, i32 2)
66 ; DUMP-NEXT: store i16 42, i16* %destLocal16, align 1 66 ; DUMP-NEXT: store i16 42, i16* %destLocal16, align 1
67 ; DUMP-NEXT: call void @__asan_check(i32 %destLocal32, i32 4) 67 ; DUMP-NEXT: call void @__asan_check(i32 %destLocal32, i32 4)
68 ; DUMP-NEXT: store i32 42, i32* %destLocal32, align 1 68 ; DUMP-NEXT: store i32 42, i32* %destLocal32, align 1
69 ; DUMP-NEXT: call void @__asan_check(i32 %destLocal64, i32 8) 69 ; DUMP-NEXT: call void @__asan_check(i32 %destLocal64, i32 8)
70 ; DUMP-NEXT: store i64 42, i64* %destLocal64, align 1 70 ; DUMP-NEXT: store i64 42, i64* %destLocal64, align 1
71 ; DUMP-NEXT: call void @__asan_check(i32 %destLocal128, i32 16) 71 ; DUMP-NEXT: call void @__asan_check(i32 %destLocal128, i32 16)
72 ; DUMP-NEXT: store <4 x i32> %vecSrc, <4 x i32>* %destLocal128, align 4 72 ; DUMP-NEXT: store <4 x i32> %vecSrc, <4 x i32>* %destLocal128, align 4
73 ; DUMP-NEXT: ret void 73 ; DUMP: ret void
74 ; DUMP-NEXT: } 74 ; DUMP-NEXT: }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698