diff options
author | Alexey Samsonov <samsonov@google.com> | 2012-09-24 11:43:40 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2012-09-24 11:43:40 +0000 |
commit | b46941a1d23012491a7a8a52718cacbde3c19ba1 (patch) | |
tree | 3f7b5776b228f5bd3b21cf8880c1443ef1d34368 /lib/interception/interception.h | |
parent | c6439621280cda29433eeed5abb62ed9833ba45a (diff) | |
download | compiler-rt-b46941a1d23012491a7a8a52718cacbde3c19ba1.tar.gz compiler-rt-b46941a1d23012491a7a8a52718cacbde3c19ba1.tar.bz2 compiler-rt-b46941a1d23012491a7a8a52718cacbde3c19ba1.tar.xz |
[ASan] Apply some ASan-relevant pieces of patch by Ruben Van Boxem. In the same time, remove ASan from CMake build on Windows after conversation with Timur. We don't want to support building ASan on Windows until it is in a working state.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164486 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/interception/interception.h')
-rw-r--r-- | lib/interception/interception.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/interception/interception.h b/lib/interception/interception.h index 6ff73556..7dad07fc 100644 --- a/lib/interception/interception.h +++ b/lib/interception/interception.h @@ -170,7 +170,11 @@ // challenging, as we don't even pass function type to // INTERCEPT_FUNCTION macro, only its name. namespace __interception { +#if defined(_WIN64) +typedef unsigned long long uptr; // NOLINT +#else typedef unsigned long uptr; // NOLINT +#endif // _WIN64 } // namespace __interception #define INCLUDED_FROM_INTERCEPTION_LIB |