This is an archive of the discontinued LLVM Phabricator instance.

[Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules().
ClosedPublic

Authored by samsonov on Feb 19 2016, 6:23 PM.

Details

Summary

This removes the hard limit on the number of loaded modules (used to be
16K), and makes it easier to use LoadedModules w/o causing a memory
leak: ListOfModules owns the modules, and makes sure to properly clean
them in destructor.

Remove filtering functionality that is only needed in one place (LSan).

Diff Detail

Repository
rL LLVM

Event Timeline

samsonov updated this revision to Diff 48566.Feb 19 2016, 6:23 PM
samsonov retitled this revision from to [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules()..
samsonov updated this object.
samsonov added a reviewer: aizatsky.
samsonov added subscribers: kcc, llvm-commits.
This revision was automatically updated to reflect the committed changes.