[Lldb-commits] [PATCH] D56129: Simplify ObjectFile::GetArchitecture
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Dec 28 05:32:19 PST 2018
labath created this revision.
labath added reviewers: clayborg, zturner.
Herald added subscribers: JDevlieghere, arichardson, emaste.
Herald added a reviewer: espindola.
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.
https://reviews.llvm.org/D56129
Files:
include/lldb/Core/Module.h
include/lldb/Expression/IRExecutionUnit.h
include/lldb/Symbol/ObjectFile.h
include/lldb/Symbol/UnwindTable.h
include/lldb/Utility/ArchSpec.h
source/Core/Module.cpp
source/Expression/IRExecutionUnit.cpp
source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.cpp
source/Plugins/ObjectFile/Breakpad/ObjectFileBreakpad.h
source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
source/Plugins/ObjectFile/ELF/ObjectFileELF.h
source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
source/Plugins/ObjectFile/JIT/ObjectFileJIT.h
source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h
source/Plugins/Process/elf-core/ProcessElfCore.cpp
source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
source/Symbol/CompactUnwindInfo.cpp
source/Symbol/DWARFCallFrameInfo.cpp
source/Symbol/FuncUnwinders.cpp
source/Symbol/Type.cpp
source/Symbol/UnwindTable.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56129.179628.patch
Type: text/x-patch
Size: 22210 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181228/0eb4a855/attachment-0001.bin>
More information about the lldb-commits
mailing list