repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
lldb
/
test
/
API
/
lang
/
c
/
tls_globals
/
a.c
blob
f63108d8cceb1f90696a65d008de4b2a45bb0071
1
#include <unistd.h>
2
3
__thread
int
var_shared
=
33
;
4
5
int
6
touch_shared
()
7
{
8
return
var_shared
;
9
}
10
11
void
shared_check
()
12
{
13
var_shared
*=
2
;
14
usleep
(
1
);
// shared thread breakpoint
15
}