Skip to content
  • Argyrios Kyrtzidis's avatar
    Stop leaking file descriptors. · 669b0b15
    Argyrios Kyrtzidis authored
    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
    669b0b15
Loading