[PATCH] [ASan Win] Simplify and improve the way we forward ASan interface calls from DLLs

Reid Kleckner rnk at google.com
Tue May 20 13:58:38 PDT 2014


================
Comment at: lib/asan/asan_dll_thunk.cc:173
@@ +172,3 @@
+    static fntype fn = 0;
+    if (fn) return;
+
----------------
Do you guys worry about concurrent calls to __asan_init_v3, or can you always initialize before threads are created?

http://reviews.llvm.org/D3848






More information about the llvm-commits mailing list