aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
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
commita8d530e3ad52cca33a81185ccc9518eab23ddb11 (patch)
tree37138bd19cd8a05679fce2584127dd0d8e8ef3aa /lib/CodeGen/CGExprConstant.cpp
parent112d5ee15a09f15e597037724e006004b3f2f78f (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127639 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions