[all-commits] [llvm/llvm-project] d78782: tsan: fix warnings in tests

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Wed Apr 28 22:42:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d78782f6a6ee98defe12ec9dde22144e1fe36ce6
      https://github.com/llvm/llvm-project/commit/d78782f6a6ee98defe12ec9dde22144e1fe36ce6
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-04-29 (Thu, 29 Apr 2021)

  Changed paths:
    M compiler-rt/test/tsan/fiber_cleanup.cpp
    M compiler-rt/test/tsan/free_race.c
    M compiler-rt/test/tsan/free_race2.c
    M compiler-rt/test/tsan/sleep_sync.cpp

  Log Message:
  -----------
  tsan: fix warnings in tests

Fix format specifier.
Fix warnings about non-standard attribute placement.
Make free_race2.c test a bit more interesting:
test access with/without an offset.

Reviewed By: vitalybuka

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




More information about the All-commits mailing list