summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-06-11 03:25:34 +0000
committerGreg Clayton <gclayton@apple.com>2010-06-11 03:25:34 +0000
commit41f923275eb15ac0b2fc9442f272fd6e4ed8f12a (patch)
tree51ee99af424e6a63af024889f2550151c3d5957e /clang/lib/Analysis
parent9af2d4a6141c4bad8a9e53912469b5ff13079464 (diff)
downloadbcm5719-llvm-41f923275eb15ac0b2fc9442f272fd6e4ed8f12a.tar.gz
bcm5719-llvm-41f923275eb15ac0b2fc9442f272fd6e4ed8f12a.zip
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
Diffstat (limited to 'clang/lib/Analysis')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud