llvm-project/lldb/source/Plugins/ObjectFile/JIT
Pavel Labath f760f5aef4 Simplify ObjectFile::GetArchitecture
Summary:
instead of returning the architecture through by-ref argument and a
boolean value indicating success, we can just return the ArchSpec
directly. Since the ArchSpec already has an invalid state, it can be
used to denote the failure without the additional bool.

Reviewers: clayborg, zturner, espindola

Subscribers: emaste, arichardson, JDevlieghere, lldb-commits

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

llvm-svn: 350291
2019-01-03 10:37:19 +00:00
..
CMakeLists.txt [CMake] [2/4] Update a batch of plugins 2017-01-31 22:23:49 +00:00
ObjectFileJIT.cpp Simplify ObjectFile::GetArchitecture 2019-01-03 10:37:19 +00:00
ObjectFileJIT.h Simplify ObjectFile::GetArchitecture 2019-01-03 10:37:19 +00:00