[PATCH] D61393: [tsan] Fix and re-enable user_malloc.cc test

Mitch Phillips via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 12:47:28 PDT 2019


hctim accepted this revision.
hctim added a comment.
This revision is now accepted and ready to land.

LGTM with nits.



================
Comment at: compiler-rt/test/tsan/Linux/user_malloc.cc:12
 extern "C" void __interceptor_free(void *p);
-
-extern "C" void *malloc(unsigned long size) {
+l extern "C" void *malloc(unsigned long size) {
   static int first = 0;
----------------
Nit: is the `l` supposed to be here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61393/new/

https://reviews.llvm.org/D61393





More information about the llvm-commits mailing list