hanchenye-llvm-project/lldb/source/Plugins
Greg Clayton 41f923275e Made lldb_private::ArchSpec more generic so that it can take a mach-o cpu
type and sub-type, or an ELF e_machine value. Also added a generic CPU type
to the arch spec class so we can have a single arch definition that the LLDB
core code can use. Previously a lot of places in the code were using the
mach-o definitions from a macosx header file. 

Switches over to using "llvm/Support/MachO.h" for the llvm::MachO::XXX for the
CPU types and sub types for mach-o ArchSpecs. Added "llvm/Support/ELF.h" so 
we can use the "llvm::ELF::XXX" defines for the ELF ArchSpecs.

Got rid of all CPU_TYPE_ and CPU_SUBTYPE_ defines that were previously being
used in LLDB.

llvm-svn: 105806
2010-06-11 03:25:34 +00:00
..
ABI
Disassembler/llvm Made lldb_private::ArchSpec more generic so that it can take a mach-o cpu 2010-06-11 03:25:34 +00:00
DynamicLoader/MacOSX-DYLD Made lldb_private::ArchSpec more generic so that it can take a mach-o cpu 2010-06-11 03:25:34 +00:00
ObjectContainer Expand AR_EFMT1 because the define is not present on Linux (and possibly 2010-06-10 04:56:00 +00:00
ObjectFile Made lldb_private::ArchSpec more generic so that it can take a mach-o cpu 2010-06-11 03:25:34 +00:00
Process Made lldb_private::ArchSpec more generic so that it can take a mach-o cpu 2010-06-11 03:25:34 +00:00
SymbolFile
SymbolVendor/MacOSX