diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2017-10-25 08:05:13 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2017-10-25 08:05:13 +0000 |
commit | 60d8ad284914ee1348a134f60e5e3664acd74cb2 (patch) | |
tree | 19cbb4f383ce3e0b4ba73229e59050e8a543a766 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 373c8efa1e2e35324878b83027e20b3970876e1a (diff) | |
download | bcm5719-llvm-60d8ad284914ee1348a134f60e5e3664acd74cb2.tar.gz bcm5719-llvm-60d8ad284914ee1348a134f60e5e3664acd74cb2.zip |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions