forked from OSchip/llvm-project
[compiler-rt][asan|win] Force tls_init test to use dynamic runtime
Summary: There is no guarantee that the tls_init is executed on the static runtime (/MT). On windows 7, this unittest is failing. On windows 10, I believe it's working because of the new CRT. On ASAN side, it doesn't matter that the hook point is run or not. It must be run only if there is other tls_initializer that are registered. Reviewers: rnk, chrisha Reviewed By: rnk Subscribers: kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D29838 llvm-svn: 295057
This commit is contained in:
parent
2a2f35d59c
commit
60ce0f667c
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clang_cl_asan %s -Fe%t.exe
|
||||
// RUN: %clang_cl_asan %s -Fe%t.exe /MD
|
||||
// RUN: %run %t.exe | FileCheck %s
|
||||
|
||||
// CHECK: my_thread_callback
|
||||
|
|
Loading…
Reference in New Issue