Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ce53a04 authored by David Srbecky's avatar David Srbecky Committed by android-build-merger
Browse files

Merge "Add dalvik.vm.minidebuginfo property for ART" am: 418a9645 am: 637814ee

am: 8d4f8127

Change-Id: Ia4869cc2012ec7e7409c6ebb42a2d8291ed08bbf
parents 2c13ebf8 8d4f8127
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -973,6 +973,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.