diff options
author | Chris Lattner <sabre@nondot.org> | 2006-10-12 18:32:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-10-12 18:32:30 +0000 |
commit | f9e946b175299f0d5c111e5966132c06c1fa261d (patch) | |
tree | 7e2614dfd4b12d544055d291b5a465735db1506d /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 8c9422c4b8cf3a2256f4fec27e49fed10f99d638 (diff) | |
download | bcm5719-llvm-f9e946b175299f0d5c111e5966132c06c1fa261d.tar.gz bcm5719-llvm-f9e946b175299f0d5c111e5966132c06c1fa261d.zip |
Fix massive resource leaks in the bytecode reader. Reading a bytecode file
with ParseBytecodeFile used to leak both a ModuleProvider (and related
bytecode parser stuff attached to it) AND a file descriptor, which was
never closed. This prevented gccld/llvm-ld/llvm-link from linking together
apps with more that ~252 .bc files on darwin.
llvm-svn: 30912
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
0 files changed, 0 insertions, 0 deletions