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
| Paths 
 |  Differential  D106951  
tsan: fix warnings in tests ClosedPublic Authored by dvyukov on Jul 28 2021, 6:03 AM. 
Details 
 Summary Compilers don't like attributes in this position: warning: GCC does not allow 'noinline' attribute in this position on a function definition 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Jul 28 2021, 7:36 AM Closed by commit rG89edd1e95f5c: tsan: fix warnings in tests (authored by dvyukov).  ·  Explain WhyJul 28 2021, 8:35 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 362406 compiler-rt/test/tsan/ignorelist2.cpp
 compiler-rt/test/tsan/longjmp3.cpp
 compiler-rt/test/tsan/longjmp4.cpp
 compiler-rt/test/tsan/race_on_heap.cpp
 compiler-rt/test/tsan/race_top_suppression.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||