summaryrefslogtreecommitdiffstats
path: root/sigchainlib
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-10-22 22:06:39 -0700
committerIan Rogers <irogers@google.com>2014-10-22 22:21:57 -0700
commitcf7f19135f0e273f7b0136315633c2abfc715343 (patch)
treeffa4d9efd9c45f4b6789acc1f534bb9327052b7e /sigchainlib
parentaea6888b056be21adf762e066c7f33b8939b8a06 (diff)
downloadart-cf7f19135f0e273f7b0136315633c2abfc715343.zip
art-cf7f19135f0e273f7b0136315633c2abfc715343.tar.gz
art-cf7f19135f0e273f7b0136315633c2abfc715343.tar.bz2
C++11 related clean-up of DISALLOW_..
Move DISALLOW_COPY_AND_ASSIGN to delete functions. By no having declarations with no definitions this prompts better warning messages so deal with these by correcting the code. Add a DISALLOW_ALLOCATION and use for ValueObject and mirror::Object. Make X86 assembly operand types ValueObjects to fix compilation errors. Tidy the use of iostream and ostream. Avoid making cutils a dependency via mutex-inl.h for tests that link against libart. Push tracing dependencies into appropriate files and mutex.cc. x86 32-bit host symbols size is increased for libarttest, avoid copying this in run-test 115 by using symlinks and remove this test's higher than normal ulimit. Fix the RunningOnValgrind test in RosAllocSpace to not use GetHeap as it returns NULL when the heap is under construction by Runtime. Change-Id: Ia246f7ac0c11f73072b30d70566a196e9b78472b
Diffstat (limited to 'sigchainlib')
-rw-r--r--sigchainlib/sigchain_dummy.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/sigchainlib/sigchain_dummy.cc b/sigchainlib/sigchain_dummy.cc
index fbc8c3f..17bfe8f 100644
--- a/sigchainlib/sigchain_dummy.cc
+++ b/sigchainlib/sigchain_dummy.cc
@@ -14,6 +14,9 @@
* limitations under the License.
*/
+#include <stdio.h>
+#include <stdlib.h>
+
#ifdef HAVE_ANDROID_OS
#include <android/log.h>
#else
@@ -21,8 +24,6 @@
#include <iostream>
#endif
-#include <stdlib.h>
-
#include "sigchain.h"
static void log(const char* format, ...) {