[all-commits] [llvm/llvm-project] 10904d: [TSan] Refactor ExternalAccess() to avoid unnecess...

Julian Lettner via All-commits all-commits at lists.llvm.org
Fri Mar 24 10:21:48 PDT 2023

  Branch: refs/heads/tsan-refactor-ExternalAccess
  Home:   https://github.com/llvm/llvm-project
  Commit: 10904ddca3ce5471c159fe7e6b7441b0a0443d49
  Author: Julian Lettner <julian.lettner at apple.com>
  Date:   2023-03-22 (Wed, 22 Mar 2023)

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

  Log Message:
  [TSan] Refactor ExternalAccess() to avoid unnecessary pop/push tag [NFC]

* Avoid unnecessary frame & tag push/pops if memory access is ignored
* Rename function and add comment to make it clearer what the code does
* Make helper functions static and move inside `#if !SANITIZER_GO`

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

More information about the All-commits mailing list