Support ANDROID_LOG_TAGS.
This is the dalvik-compatible solution to the "I don't want non-FATAL logging
in my test output" problem.
Change-Id: I51b7b883ce89604af4661696e7c7b041a0ef8211
diff --git a/src/oatdump.cc b/src/oatdump.cc
index ea2e711..28126ae 100644
--- a/src/oatdump.cc
+++ b/src/oatdump.cc
@@ -1234,7 +1234,9 @@
DISALLOW_COPY_AND_ASSIGN(ImageDumper);
};
-int oatdump(int argc, char** argv) {
+static int oatdump(int argc, char** argv) {
+ InitLogging();
+
// Skip over argv[0].
argv++;
argc--;