diff options
author | Renato Golin <renato.golin@linaro.org> | 2015-10-08 16:43:26 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2015-10-08 16:43:26 +0000 |
commit | e84b000ccb296424483c06a6305eb8744dfd054c (patch) | |
tree | 071864b75f19509e249101da28842c8d17e3519f /llvm/tools/llvm-objdump/MachODump.cpp | |
parent | 811a09ec5bd2272e3321abb06f0bb0bd5cdd8d98 (diff) | |
download | bcm5719-llvm-e84b000ccb296424483c06a6305eb8744dfd054c.tar.gz bcm5719-llvm-e84b000ccb296424483c06a6305eb8744dfd054c.zip |
Simplify DefaultCPU in ARMTargetInfo
Simplifying the convoluted CPU handling in ARMTargetInfo.
The default base CPU on ARM is ARM7TDMI, arch ARMv4T, and
ARMTargetInfo had a different one. This wasn't visible from
Clang because the driver selects the defaults and sets the
Arch/CPU features directly, but the constructor depended
on the CPU, which was never used.
This patch corrects the mistake and greatly simplifies
how CPU is dealt with (essentially by removing the duplicated
DefaultCPU field).
Tests updated.
llvm-svn: 249699
Diffstat (limited to 'llvm/tools/llvm-objdump/MachODump.cpp')
0 files changed, 0 insertions, 0 deletions