forked from OSchip/llvm-project
[msan] Fix compilation of a disabled test.
llvm-svn: 205613
This commit is contained in:
parent
a09bd2379c
commit
fe82d5f849
|
@ -54,6 +54,7 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
#else // BUILD_SO
|
#else // BUILD_SO
|
||||||
__thread long huge_thread_local_array[1 << 17];
|
__thread long huge_thread_local_array[1 << 17];
|
||||||
|
extern "C"
|
||||||
long *GetTls() {
|
long *GetTls() {
|
||||||
return &huge_thread_local_array[0];
|
return &huge_thread_local_array[0];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue