commit | 60d8ad284914ee1348a134f60e5e3664acd74cb2 | [log] [tgz] |
---|---|---|
author | Dmitry Vyukov <dvyukov@google.com> | Wed Oct 25 08:05:13 2017 +0000 |
committer | Dmitry Vyukov <dvyukov@google.com> | Wed Oct 25 08:05:13 2017 +0000 |
tree | 19cbb4f383ce3e0b4ba73229e59050e8a543a766 | |
parent | 373c8efa1e2e35324878b83027e20b3970876e1a [diff] |
[tsan] Fix warnings in tsan_interceptors.cc from expansion of variadic macros C99 technically requires the rest arguments to be used in C variadic macros. This presents a problem with the macro SCOPED_TSAN_INTERCEPTOR when func takes no arguments. This happens with the function pause. Like other void argument functions, we pass in a fake argument to avoid this warning. Author: Alex Langford (xiaobai) Reviewed in: https://reviews.llvm.org/D39151 llvm-svn: 316558