hanchenye-llvm-project/lldb
Harlan Haskins 84586c1423 [clang] Change FileManager to use llvm::ErrorOr instead of null on failure
Summary:
Currently, clang's FileManager uses NULL as an indicator that a particular file
did not exist, but would not propagate errors like permission issues. Instead,
teach FileManager to use llvm::ErrorOr internally and return rich errors for
failures.

Reviewers: arphaman, bruno, martong, shafik

Subscribers: nemanjai, kbarton, MaskRay, jkorous, dexonsmith, kadircet, jsji, cfe-commits, lldb-commits

Tags: #clang, #lldb

Differential Revision: https://reviews.llvm.org/D65534

llvm-svn: 367618
2019-08-01 21:32:04 +00:00
..
cmake [lldb][CMake] Avoid 'Autogenerate scheme' dialogs in Xcode projects 2019-08-01 10:33:44 +00:00
docs [lldb][docs] Update landing page for monorepo 2019-08-01 10:33:54 +00:00
examples [Symbolication] Remove some dead code. Nothing exciting. 2019-07-29 21:25:51 +00:00
include/lldb [API] Remove use of ClangASTContext from SBTarget 2019-07-31 20:47:38 +00:00
lit Fix `skipIfSanitized` decorator on macOS 2019-08-01 18:35:40 +00:00
packages/Python/lldbsuite Fix `skipIfSanitized` decorator on macOS 2019-08-01 18:35:40 +00:00
resources [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
scripts [lldb] Remove Xcode project legacy 2019-07-24 09:20:14 +00:00
source [clang] Change FileManager to use llvm::ErrorOr instead of null on failure 2019-08-01 21:32:04 +00:00
test [dotest] Remove multiprocessing 2019-07-30 16:42:47 +00:00
third_party/Python/module [lldb/thirdparty] Remove unneeded files, asked by Jonas. 2019-03-12 20:41:36 +00:00
tools [Symbol] Use llvm::Expected when getting TypeSystems 2019-07-30 22:12:34 +00:00
unittests Add missing includes to SymbolFilePDBTests 2019-07-31 11:31:05 +00:00
utils [TableGen] Move helpers into LLDBTableGenUtils. 2019-07-31 00:47:00 +00:00
.arcconfig
.clang-format
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt [CMake] Move project() call to main CMake file 2019-07-29 23:09:31 +00:00
CODE_OWNERS.txt [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
use_lldb_suite_root.py