[all-commits] [llvm/llvm-project] d3faec: tsan: minor MetaMap tweaks

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Wed Aug 4 04:20:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d3faecbb7c04022f5cc62fe706cd9e5cf8343caf
      https://github.com/llvm/llvm-project/commit/d3faecbb7c04022f5cc62fe706cd9e5cf8343caf
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-08-04 (Wed, 04 Aug 2021)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_sync.cpp
    M compiler-rt/lib/tsan/rtl/tsan_sync.h

  Log Message:
  -----------
  tsan: minor MetaMap tweaks

1. Add some comments.
2. Use kInvalidStackID instead of literal 0.
3. Add more LIKELY/UNLIKELY.

Reviewed By: vitalybuka, melver

Differential Revision: https://reviews.llvm.org/D107371




More information about the All-commits mailing list