aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/Local.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-12 18:32:30 +0000
committerChris Lattner <sabre@nondot.org>2006-10-12 18:32:30 +0000
commitf0edc6c18b9beffa1ccce9dc84ad04cc9d4534ee (patch)
tree3b446acf5be2446034ed8e8b9679c497cec7e4e1 /lib/Analysis/DataStructure/Local.cpp
parent65d8c1e8d49150187b8561be931abf6b83afd793 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30912 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Local.cpp')
0 files changed, 0 insertions, 0 deletions