[PATCH] D31774: [sanitizer] Introduce tid_t as a typedef for OS-provided thread IDs

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 12 09:34:22 PDT 2017


fjricci added inline comments.


================
Comment at: lib/lsan/lsan_common.cc:191
+    tid_t os_id = static_cast<tid_t>(suspended_threads.GetThreadID(i));
+    LOG_THREADS("Processing thread %d.\n", tid_t);
     uptr stack_begin, stack_end, tls_begin, tls_end, cache_begin, cache_end;
----------------
This line should remain `os_id`


Repository:
  rL LLVM

https://reviews.llvm.org/D31774





More information about the llvm-commits mailing list