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/no_globals.ll

Issue 2165493002: Subzero: Fixed deadlock with _start but no globals (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: 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
« src/IceASanInstrumentation.cpp ('K') | « src/IceGlobalContext.cpp ('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 ; Check that Subzero can instrument _start when there are no globals
Jim Stichnoth 2016/07/19 14:04:13 Can you add a more complete description of why thi
tlively 2016/07/19 22:27:04 Done.
2
3 ; REQUIRES: no_minimal_build
4
5 ; RUN: %p2i -i %s --args -verbose=inst -fsanitize-address \
6 ; RUN: | FileCheck --check-prefix=DUMP %s
7
8 define void @_start(i32 %arg) {
9 ret void
10 }
11
12 ; DUMP-LABEL: ================ Instrumented CFG ================
Jim Stichnoth 2016/07/19 14:04:13 Can the tested output be made less specific? I th
tlively 2016/07/19 22:27:04 Done.
13 ; DUMP-NEXT: define void @_start(i32 %arg) {
14 ; DUMP-NEXT: __0:
15 ; DUMP-NEXT: call void @__asan_init(i32 0, i32 @__$rz_array, i32 @__$rz_sizes)
16 ; DUMP-NEXT: ret void
17 ; DUMP-NEXT: }
OLDNEW
« src/IceASanInstrumentation.cpp ('K') | « src/IceGlobalContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698