diff options
author | Pete Cooper <peter_cooper@apple.com> | 2016-03-16 23:30:27 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2016-03-16 23:30:27 +0000 |
commit | 31275a1413dba70f88e4e5ca484c780331a0c032 (patch) | |
tree | ea6bcca9226d896dcf3e52e2804d63e971418523 /clang/lib/Frontend/ModuleDependencyCollector.cpp | |
parent | 5b78308689121475199c3de365e7aaed8778b6bb (diff) | |
download | llvm-31275a1413dba70f88e4e5ca484c780331a0c032.zip llvm-31275a1413dba70f88e4e5ca484c780331a0c032.tar.gz llvm-31275a1413dba70f88e4e5ca484c780331a0c032.tar.bz2 |
Use allocator in YAML code to avoid leaking atom content.
In lld we allocate atoms on an allocator and so don't run their
destructors. This means we also shouldn't allocate memory inside
them without that also being on an allocator.
Reviewed by Lang Hames and Rafael Espindola.
llvm-svn: 263677
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions