[PATCH] D37269: Add support for custom loaders to the sanitizer symbolizer

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 15 16:00:02 PDT 2017


eugenis added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_symbolizer.h:155
   ListOfModules modules_;
+  ListOfModules fallback_modules_;
   // If stale, need to reload the modules before looking up addresses.
----------------
Please make sure that this does not allocate memory unless it's necessary.
Looks like it can be done by switching ListOfModules to InternalMmapVectorNoCtor.


https://reviews.llvm.org/D37269





More information about the llvm-commits mailing list