summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/msan/lit_tests/malloc_hook.cc
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-09-10 11:04:37 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-09-10 11:04:37 +0000
commitdf96e863de91b2553efeb8a5542e338c91f536ae (patch)
tree5942153910f33163e73197be7e0f0add8ec223ca /compiler-rt/lib/msan/lit_tests/malloc_hook.cc
parent71665cd1fdf281cfcbbe3a3f91623ddd50bf6551 (diff)
downloadbcm5719-llvm-df96e863de91b2553efeb8a5542e338c91f536ae.tar.gz
bcm5719-llvm-df96e863de91b2553efeb8a5542e338c91f536ae.zip
[msan] bool -> int to make msan_interface.h C-compatible.
llvm-svn: 190402
Diffstat (limited to 'compiler-rt/lib/msan/lit_tests/malloc_hook.cc')
-rw-r--r--compiler-rt/lib/msan/lit_tests/malloc_hook.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/msan/lit_tests/malloc_hook.cc b/compiler-rt/lib/msan/lit_tests/malloc_hook.cc
index 5e7e7dc857e..fc68fbc35fb 100644
--- a/compiler-rt/lib/msan/lit_tests/malloc_hook.cc
+++ b/compiler-rt/lib/msan/lit_tests/malloc_hook.cc
@@ -4,7 +4,7 @@
#include <unistd.h>
extern "C" {
-bool __msan_get_ownership(const void *p);
+int __msan_get_ownership(const void *p);
void *global_ptr;
OpenPOWER on IntegriCloud