diff options
| author | Greg Clayton <gclayton@apple.com> | 2014-08-15 18:00:45 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2014-08-15 18:00:45 +0000 |
| commit | 5acc12550f8d94cad2b5498a4842a5079c69ac04 (patch) | |
| tree | 8e417d278cd0528b521c02c27028a22ec94d9c70 /lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp | |
| parent | d2308ea5fd583e8d342d9e8baa00486b57c6a9a9 (diff) | |
| download | bcm5719-llvm-5acc12550f8d94cad2b5498a4842a5079c69ac04.tar.gz bcm5719-llvm-5acc12550f8d94cad2b5498a4842a5079c69ac04.zip | |
Don't crash when specifying a core file that isn't readable.
Fixes include:
1 - added new FileSpec method: bool FileSpec::Readable()
2 - detect when an executable is not readable and give an appropriate error for:
(lldb) file /tmp/unreadablefile
3 - detect when a core file is not readable and give an appropriate error
4 - detect when a specified core file doesn't exist and give an appropriate error
<rdar://problem/17727734>
llvm-svn: 215741
Diffstat (limited to 'lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp')
0 files changed, 0 insertions, 0 deletions

