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

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: Moved an include to the proper file 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
« no previous file with comments | « src/IceInstrumentation.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.
2 ; Previously Subzero would deadlock when _start was the first function. Also
3 ; test that instrumenting start does not deadlock waiting for nonexistent
4 ; global initializers to be lowered.
5
6 ; REQUIRES: no_minimal_build
7
8 ; RUN: %p2i -i %s --args -verbose=inst -fsanitize-address \
9 ; RUN: | FileCheck --check-prefix=DUMP %s
10
11 ; RUN: %p2i -i %s --args -verbose=inst -fsanitize-address -threads=0 \
12 ; RUN: | FileCheck --check-prefix=DUMP %s
13
14
15 define void @_start(i32 %arg) {
16 ret void
17 }
18
19 ; DUMP: __asan_init
OLDNEW
« no previous file with comments | « src/IceInstrumentation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698