diff options
author | Ian Rogers <irogers@google.com> | 2014-03-07 14:49:39 -0800 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-03-07 22:30:41 -0800 |
commit | 87f8b4cf0c1d6aab3eb5d1e99cc4e7cf175ef772 (patch) | |
tree | 2828105f52e2830842d4d62477bd1a613ae6b93f /runtime/thread_list.h | |
parent | a54ece27b9bfd651fc3173bf43ca030652306b6e (diff) | |
download | art-87f8b4cf0c1d6aab3eb5d1e99cc4e7cf175ef772.zip art-87f8b4cf0c1d6aab3eb5d1e99cc4e7cf175ef772.tar.gz art-87f8b4cf0c1d6aab3eb5d1e99cc4e7cf175ef772.tar.bz2 |
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
Diffstat (limited to 'runtime/thread_list.h')
-rw-r--r-- | runtime/thread_list.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/thread_list.h b/runtime/thread_list.h index 58bd92a..a574340 100644 --- a/runtime/thread_list.h +++ b/runtime/thread_list.h @@ -90,9 +90,8 @@ class ThreadList { LOCKS_EXCLUDED(Locks::thread_list_lock_, Locks::thread_suspend_count_lock_); - size_t RunCheckpointOnRunnableThreads(Closure* checkpoint_function); - LOCKS_EXCLUDED(Locks::thread_list_lock_, - Locks::thread_suspend_count_lock_); + size_t RunCheckpointOnRunnableThreads(Closure* checkpoint_function) + LOCKS_EXCLUDED(Locks::thread_list_lock_, Locks::thread_suspend_count_lock_); // Suspends all threads void SuspendAllForDebugger() |