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

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

Issue 2145213002: Subzero: implemented wrapper script to replace calls to calloc() (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Updated command examples 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
« pydir/sz-clang.py ('K') | « tests_lit/asan_tests/Input/calloc.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 ; Test that sz-clang.py successfully replaced calls to calloc
2
3 ; RUN: %S/../../pydir/sz-clang.py -fsanitize-address %S/Input/calloc.c -E \
4 ; RUN: | FileCheck %s
5
6 ; CHECK-LABEL: int main(void) {
7 ; CHECK-NEXT: void *buf = (__asan_dummy_calloc(14, sizeof(int)));
8 ; CHECK-NEXT: strcpy(buf, "Hello, world!");
9 ; CHECK-NEXT: printf("%s\n", buf);
10 ; CHECK-NEXT: free(buf);
11 ; CHECK-NEXT: }
OLDNEW
« pydir/sz-clang.py ('K') | « tests_lit/asan_tests/Input/calloc.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698