diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2014-02-04 10:35:23 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2014-02-04 10:35:23 +0000 |
commit | 9244c48b2940eddbd61d10a85ee34d3d1e5ea742 (patch) | |
tree | 64dc8ea00ce9b15dce18214aef41204e6f1e76e9 /compiler-rt/lib/tsan/go/test.c | |
parent | 2e7dc60ee349df0fb57fbc586f79986ccf1799e5 (diff) | |
download | bcm5719-llvm-9244c48b2940eddbd61d10a85ee34d3d1e5ea742.tar.gz bcm5719-llvm-9244c48b2940eddbd61d10a85ee34d3d1e5ea742.zip |
tsan: update public Go interface
in preparation for https://codereview.appspot.com/55100044
llvm-svn: 200750
Diffstat (limited to 'compiler-rt/lib/tsan/go/test.c')
-rw-r--r-- | compiler-rt/lib/tsan/go/test.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler-rt/lib/tsan/go/test.c b/compiler-rt/lib/tsan/go/test.c index 859b35d348e..8bb1d32b1db 100644 --- a/compiler-rt/lib/tsan/go/test.c +++ b/compiler-rt/lib/tsan/go/test.c @@ -23,7 +23,6 @@ void __tsan_write(void *thr, void *addr, void *pc); void __tsan_func_enter(void *thr, void *pc); void __tsan_func_exit(void *thr); void __tsan_malloc(void *thr, void *p, unsigned long sz, void *pc); -void __tsan_free(void *p); void __tsan_acquire(void *thr, void *addr); void __tsan_release(void *thr, void *addr); void __tsan_release_merge(void *thr, void *addr); @@ -60,7 +59,6 @@ int main(void) { __tsan_read(thr2, buf, (char*)&barfoo + 1); __tsan_func_exit(thr2); __tsan_go_end(thr2); - __tsan_free(buf); __tsan_func_exit(thr0); __tsan_fini(); return 0; |