aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/MemoryDependenceAnalysis.cpp
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-11-29 17:19:48 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-11-29 17:19:48 +0000
commitd614673bb8bee193341b3d516383be438915a9d4 (patch)
tree2b9192a731c9ffb56a520e206adc9ded1f83e725 /lib/Analysis/MemoryDependenceAnalysis.cpp
parenta76a7883b557c315f29dbf95155dd5ae0352fecf (diff)
This patch ensures that Path::GetMainExecutable is able to handle the
case where realpath() fails. When this occurs we segfault trying to create a std::string from a NULL pointer. Fixes PR5635. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90082 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/MemoryDependenceAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions