forked from OSchip/llvm-project
Add declaration of _ReadWriteBarrier. Fixes build of asan tests on Windows.
llvm-svn: 241227
This commit is contained in:
parent
7869d4b846
commit
23a410cc64
|
@ -23,6 +23,11 @@
|
||||||
#include "sanitizer_list.h"
|
#include "sanitizer_list.h"
|
||||||
#include "sanitizer_mutex.h"
|
#include "sanitizer_mutex.h"
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
extern "C" void _ReadWriteBarrier();
|
||||||
|
#pragma intrinsic(_ReadWriteBarrier)
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace __sanitizer {
|
namespace __sanitizer {
|
||||||
struct StackTrace;
|
struct StackTrace;
|
||||||
struct AddressInfo;
|
struct AddressInfo;
|
||||||
|
|
Loading…
Reference in New Issue