summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-03-15 00:47:44 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-03-15 00:47:44 +0000
commit669b0b1521f8ce6c4dd9e5de83069523a49cf86c (patch)
tree6a7fcc7edc9490ac76b822a5f930f7ee1ebc4259 /llvm/lib/CodeGen
parentf6b01ff4228cc9852f6c40d2c986e5fff3e8aae8 (diff)
downloadbcm5719-llvm-669b0b1521f8ce6c4dd9e5de83069523a49cf86c.tar.gz
bcm5719-llvm-669b0b1521f8ce6c4dd9e5de83069523a49cf86c.zip
Stop leaking file descriptors.
After the open+fstat optimization, files were already opened for FileManager::getBufferForFile() and we closed them after reading them. The problem was that when -working-directory was passed, the code path that actually reuses & closes the already opened file descriptor was not followed. llvm-svn: 127639
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud