Lines Matching refs:debug_flags
69 static void EnableDebugFeatures(uint32_t debug_flags) {
83 if ((debug_flags & DEBUG_ENABLE_CHECKJNI) != 0) {
93 debug_flags &= ~DEBUG_ENABLE_CHECKJNI;
96 if ((debug_flags & DEBUG_ENABLE_JNI_LOGGING) != 0) {
98 debug_flags &= ~DEBUG_ENABLE_JNI_LOGGING;
101 Dbg::SetJdwpAllowed((debug_flags & DEBUG_ENABLE_DEBUGGER) != 0);
102 if ((debug_flags & DEBUG_ENABLE_DEBUGGER) != 0) {
105 debug_flags &= ~DEBUG_ENABLE_DEBUGGER;
107 const bool safe_mode = (debug_flags & DEBUG_ENABLE_SAFEMODE) != 0;
112 debug_flags &= ~DEBUG_ENABLE_SAFEMODE;
115 const bool generate_debug_info = (debug_flags & DEBUG_GENERATE_DEBUG_INFO) != 0;
118 debug_flags &= ~DEBUG_GENERATE_DEBUG_INFO;
122 debug_flags &= ~DEBUG_ENABLE_ASSERT;
124 if ((debug_flags & DEBUG_ALWAYS_JIT) != 0) {
128 debug_flags &= ~DEBUG_ALWAYS_JIT;
131 if ((debug_flags & DEBUG_NATIVE_DEBUGGABLE) != 0) {
135 debug_flags &= ~DEBUG_NATIVE_DEBUGGABLE;
138 if (debug_flags != 0) {
139 LOG(ERROR) << StringPrintf("Unknown bits set in debug_flags: %#x", debug_flags);
161 jint debug_flags,
167 EnableDebugFeatures(debug_flags);