summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@google.com>2015-03-26 21:58:46 +0000
committerDerek Schuff <dschuff@google.com>2015-03-26 21:58:46 +0000
commita3b594c480166f4c91ee488d85cfc4767566fee7 (patch)
treeb914fbe4dc593237e7baf6fcbb1eb05a462e4edf /clang/lib/Lex/ModuleMap.cpp
parent346048a1fa469dde8d1b3205c37ea40cc1377495 (diff)
downloadbcm5719-llvm-a3b594c480166f4c91ee488d85cfc4767566fee7.tar.gz
bcm5719-llvm-a3b594c480166f4c91ee488d85cfc4767566fee7.zip
Default to armv7 cpu for NaCl when march=arm
Summary: When the arch is given as "arm" clang uses the default target CPU from LLVM to determine what the real arch should be (i.e. "arm" becomes "armv4t" because LLVM's getARMCPUForArch falls back to "arm7tdmi"). Default to "cortex-a8" so that we end up with "armv7" in clang. the nacl-direct.c test in clang also covers this case. Differential Revision: http://reviews.llvm.org/D8589 llvm-svn: 233321
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud