OSDN Git Service

Make clang the default compiler on host.
authorIan Rogers <irogers@google.com>
Fri, 7 Mar 2014 22:49:39 +0000 (14:49 -0800)
committerIan Rogers <irogers@google.com>
Sat, 8 Mar 2014 06:30:41 +0000 (22:30 -0800)
commit87f8b4cf0c1d6aab3eb5d1e99cc4e7cf175ef772
tree2828105f52e2830842d4d62477bd1a613ae6b93f
parenta54ece27b9bfd651fc3173bf43ca030652306b6e
Make clang the default compiler on host.

Motivation, GCC's compiler warnings are inferior to clang's. -Wthread-safety is
not supported by GCC starting with version 4.7. As this change only effects the
host, performance issues are an impact on host building and testing alone.
Fix clang gtest building on host with BUILD_HOST_64bit.
Fix clang build regressions caused by unused fields.
Fix x86-64 regression caused by requirement to fire-up quick compiler even in an
interpret-only environment. Long-term this code doesn't belong in the quick
compiler.

Change-Id: Ifc2b10177f40d0724cbbf8dab9653ac03cdd1cee
build/Android.common.mk
compiler/dex/frontend.cc
compiler/dex/verification_results.cc
compiler/dex/verification_results.h
compiler/driver/compiler_driver.h
runtime/thread_list.h