[Lldb-commits] [PATCH] D87868: [RFC] When calling the process mmap try to call all found instead of just the first one
Jim Ingham via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 21 15:27:55 PDT 2020
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.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the lldb-commits