[PATCH] D61871: [asan] Fix debug asan build link error

Walter Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 15 17:08:43 PDT 2019


waltl added a comment.

There is still a problem building for Linux.  See comment below.



================
Comment at: compiler-rt/lib/asan/asan_malloc_local.h:24
+  return !__asan::asan_inited || __asan::asan_init_is_running;
 }
 
----------------
The code in asan_malloc_linux.cc that calls this function is used for many platforms, not just RTEMS, so we still need this function in the original form.  Alternatively, we can fix asan_malloc_linux.cc so that only RTEMS call this function.  Either solution is fine with me.



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D61871





More information about the llvm-commits mailing list