[compiler-rt] [ASan][Windows] Synchronizing ASAN init on Windows (PR #71833)
    Vitaly Buka via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Nov  9 14:11:35 PST 2023
    
    
  
================
@@ -93,6 +97,11 @@ AsanThreadContext *GetThreadContextByTidLocked(u32 tid) {
 AsanThread *AsanThread::Create(const void *start_data, uptr data_size,
                                u32 parent_tid, StackTrace *stack,
                                bool detached) {
+#if SANITIZER_WINDOWS
----------------
vitalybuka wrote:
how newthread can happen? Isn't there is interceptor for CreateThread which should be executed first on main thread?
https://github.com/llvm/llvm-project/pull/71833
    
    
More information about the llvm-commits
mailing list