[compiler-rt] [ASan][Windows] Synchronizing ASAN init on Windows (PR #71833)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 21 15:52:05 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:

I we don't have documentation yet, after migrating to pull request.

So easiest way is to create sevaral branches in your fork and create PR from each one:
1. format
2. format + asan_init_is_running
3. format + asan_init_is_running + the rest  (this one)

2 and 3 will have include some code from PRs above, but they will go away after merging earlier one and rebase

https://github.com/getcord/spr does this stuff for you, but it will required undocumented setup 



https://github.com/llvm/llvm-project/pull/71833


More information about the llvm-commits mailing list