HomePhabricator

[Sanitizer] Introduce ListOfModules object and use it to replaceā€¦

Description

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

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).

Reviewers: aizatsky

Subscribers: llvm-commits, kcc

Differential Revision: http://reviews.llvm.org/D17470

Details

Committed
samsonovFeb 22 2016, 10:52 AM
Differential Revision
D17470: [Sanitizer] Introduce ListOfModules object and use it to replace GetListOfModules().
Parents
rL261553: Merging r261422:
Branches
Unknown
Tags
Unknown