Summary: This patch converts FileSystem::Open from this prototype: Status Open(File &File, const FileSpec &file_spec, ...); to this one: llvm::Expected<std::unique_ptr<File>> Open(const FileSpec &file_spec, ...); This is beneficial on its own, as llvm::Expected is a more modern and recommended error type than Status. It is also a necessary step towards https://reviews.llvm.org/D67891, and further developments for lldb_private::File. Reviewers: JDevlieghere, jasonmolenda, labath Reviewed By: labath Subscribers: mgorny, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D67996 llvm-svn: 373003
12 lines
250 B
CMake
12 lines
250 B
CMake
add_lldb_unittest(ScriptInterpreterPythonTests
|
|
PythonDataObjectsTests.cpp
|
|
PythonExceptionStateTests.cpp
|
|
PythonTestSuite.cpp
|
|
|
|
LINK_LIBS
|
|
lldbHost
|
|
lldbPluginScriptInterpreterPython
|
|
LLVMTestingSupport
|
|
LINK_COMPONENTS
|
|
Support
|
|
) |