summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_stack.cc
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-02-08 13:45:31 +0000
committerAlexey Samsonov <samsonov@google.com>2012-02-08 13:45:31 +0000
commite725478e2f18263956fefef1bc6246b8bf322c03 (patch)
treed99ee85a7e61057d0b0b7a0b30f1f614b21cb442 /compiler-rt/lib/asan/asan_stack.cc
parente1224a506766b1187dee1d4f5497c2af18afefe2 (diff)
downloadbcm5719-llvm-e725478e2f18263956fefef1bc6246b8bf322c03.tar.gz
bcm5719-llvm-e725478e2f18263956fefef1bc6246b8bf322c03.zip
AddressSanitizer: replace all "real_X" calls with "REAL(X)"
llvm-svn: 150073
Diffstat (limited to 'compiler-rt/lib/asan/asan_stack.cc')
-rw-r--r--compiler-rt/lib/asan/asan_stack.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/asan/asan_stack.cc b/compiler-rt/lib/asan/asan_stack.cc
index 9f746974908..5dabc04a6f7 100644
--- a/compiler-rt/lib/asan/asan_stack.cc
+++ b/compiler-rt/lib/asan/asan_stack.cc
@@ -140,8 +140,8 @@ size_t AsanStackTrace::CompressStack(AsanStackTrace *stack,
// |res| may be greater than check_stack.size, because
// UncompressStack(CompressStack(stack)) eliminates the 0x0 frames.
CHECK(res >= check_stack.size);
- CHECK(0 == real_memcmp(check_stack.trace, stack->trace,
- check_stack.size * sizeof(uintptr_t)));
+ CHECK(0 == REAL(memcmp)(check_stack.trace, stack->trace,
+ check_stack.size * sizeof(uintptr_t)));
#endif
return res;
OpenPOWER on IntegriCloud