Merge "Add dalvik.vm.minidebuginfo property for ART" am: 418a96457c

am: 637814eebf

Change-Id: I0ecf4d2d1922cfe9948936ef3e494f0a71e6c2f5
This commit is contained in:
David Srbecky
2018-01-26 14:05:12 +00:00
committed by android-build-merger

View File

@@ -969,6 +969,12 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv, bool zygote)
addOption("--generate-debug-info");
}
// The mini-debug-info makes it possible to backtrace through JIT code.
if (property_get_bool("dalvik.vm.minidebuginfo", 0)) {
addOption("-Xcompiler-option");
addOption("--generate-mini-debug-info");
}
/*
* Retrieve the build fingerprint and provide it to the runtime. That way, ANR dumps will
* contain the fingerprint and can be parsed.