Sign in
android
/
toolchain
/
gcc
/
1d9fec7937f45dde5e04cac966a2d9a12f2fc15a
/
.
/
gcc-4.9
/
gcc
/
testsuite
/
g++.dg
/
tree-prof
/
lipo
/
tls2_0.C
blob: 9ccd5b96b02ab13b8b0c3b8b6d4e30670f3a83c1 [
file
] [
log
] [
blame
]
// { dg-options "-std=c++11 -O2 --param=lipo-sampling-period=1" }
#include
"tls2.h"
static
thread_local
TLSClass
*
current_tls_
=
NextTLSClass
();
void
*
SetTLSClass
(
TLSClass
*
a
)
{
current_tls_
=
a
;
}
TLSClass
*
GetTLSClass
()
{
return
current_tls_
;
}