diff options
author | Pete Cooper <peter_cooper@apple.com> | 2016-03-16 23:29:31 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2016-03-16 23:29:31 +0000 |
commit | 5b78308689121475199c3de365e7aaed8778b6bb (patch) | |
tree | 2829a200e91caa85c5adb8fac4a6fdd4604cf46d /clang/lib/Frontend/ModuleDependencyCollector.cpp | |
parent | b672e792f28ec17258881307e59393683f2ef95c (diff) | |
download | llvm-5b78308689121475199c3de365e7aaed8778b6bb.zip llvm-5b78308689121475199c3de365e7aaed8778b6bb.tar.gz llvm-5b78308689121475199c3de365e7aaed8778b6bb.tar.bz2 |
Add optional allocator to YAML code to avoid leaking lld atoms.
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: 263676
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions