diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2016-02-22 18:52:51 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2016-02-22 18:52:51 +0000 |
commit | 8e3cbde27d471ed207275cc3106f59c8d3cfa284 (patch) | |
tree | bc9fc762cf00c73097c943c18f38ff2ae4dd4d8d /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | 8c03c542002258ccf0197908904d5cb9767f2394 (diff) | |
download | bcm5719-llvm-8e3cbde27d471ed207275cc3106f59c8d3cfa284.tar.gz bcm5719-llvm-8e3cbde27d471ed207275cc3106f59c8d3cfa284.zip |
[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
llvm-svn: 261554
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions