jingham added a comment.

In D87868#2286313 <https://reviews.llvm.org/D87868#2286313>, @kastiglione wrote:

> Should lldb avoid calling asan (or any other sanitizer's) `mmap`? If so, 
> maybe this function can be sanitizer aware and ignore those symbols.

At present, this is a function that gets used for any Posix, and I don't think 
it can know about sanitizers.  If you want to do something of this sort, then 
the Platform should be asked for the library containing the canonical mmap, and 
we can load it from there.  That would have the nice effect that we wouldn't 
search the whole symbol world for mmap, and allow the Platform to pick the 
right one.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87868

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to