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

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Wed Jul 28 08:35:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89edd1e95f5cc274c0e33cf45ffc85c37b3214f0
      https://github.com/llvm/llvm-project/commit/89edd1e95f5cc274c0e33cf45ffc85c37b3214f0
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-07-28 (Wed, 28 Jul 2021)

  Changed paths:
    M compiler-rt/test/tsan/ignorelist2.cpp
    M compiler-rt/test/tsan/longjmp3.cpp
    M compiler-rt/test/tsan/longjmp4.cpp
    M compiler-rt/test/tsan/race_on_heap.cpp
    M compiler-rt/test/tsan/race_top_suppression.cpp

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

Compilers don't like attributes in this position:

warning: GCC does not allow 'noinline' attribute in this position on a function definition
error: attributes are not allowed on a function-definition

Reviewed By: melver

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




More information about the All-commits mailing list