[PATCH] D36385: [asan] Refactor thread creation bookkeeping

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 9 03:57:53 PDT 2017


krytarowski added inline comments.


================
Comment at: compiler-rt/trunk/lib/asan/asan_thread.cc:277
+  SetCurrentThread(main_thread);
+  main_thread->ThreadStart(internal_getpid(),
+                           /* signal_thread_is_registered */ nullptr);
----------------
Does it mean that there is assumption that process id = thread it?


Repository:
  rL LLVM

https://reviews.llvm.org/D36385





More information about the llvm-commits mailing list