This is an archive of the discontinued LLVM Phabricator instance.

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
error: attributes are not allowed on a function-definition

Diff Detail

Event Timeline

dvyukov requested review of this revision.Jul 28 2021, 6:03 AM
dvyukov created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJul 28 2021, 6:03 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
melver accepted this revision.Jul 28 2021, 7:36 AM
This revision is now accepted and ready to land.Jul 28 2021, 7:36 AM
This revision was automatically updated to reflect the committed changes.