For PR789:
authorReid Spencer <rspencer@reidspencer.com>
Thu, 29 Mar 2007 19:05:44 +0000 (19:05 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 29 Mar 2007 19:05:44 +0000 (19:05 +0000)
commit8475ec068c213d0bf73f7686d82491a8f12e3b32
treeb455b532bbe4b9a50f4baadecf4a48d83fc801a6
parentf735f7b3ac424bd701af2da2e3d4b69fbcb2b203
For PR789:
Make the sys::Path::getFileStatus function more efficient by having it
return a pointer to the FileStatus structure rather than copy it. Adjust
uses of the function accordingly. Also, fix some memory issues in sys::Path.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35476 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
Makefile.config.in
Makefile.rules
include/llvm/System/Path.h
lib/Archive/Archive.cpp
lib/Archive/ArchiveWriter.cpp
lib/Bytecode/Archive/Archive.cpp
lib/Bytecode/Archive/ArchiveWriter.cpp
lib/Debugger/ProgramInfo.cpp
lib/Support/FileUtilities.cpp
lib/System/Unix/Path.inc
lib/System/Unix/Signals.inc
lib/System/Win32/Path.inc
lib/System/Win32/Signals.inc
tools/llvm-ar/llvm-ar.cpp
tools/llvm-db/Commands.cpp
tools/llvmc/CompilerDriver.cpp