Skip to content

Commit 1dce248

Browse files
authored
Merge pull request #1946 from dcci/native-process-darwin
apple-llvm-split-commit: 2492ae335df401828fa561b5a51f6527a5a2d7ba apple-llvm-split-dir: lldb/
2 parents 9df6cf8 + 6d41ba3 commit 1dce248

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lldb/source/Plugins/Process/Darwin/NativeProcessDarwin.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ bool NativeProcessDarwin::ProcessUsingBackBoard() const {
282282
// has already been copied.
283283
void NativeProcessDarwin::ExceptionMessageReceived(
284284
const MachException::Message &message) {
285-
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS ));
285+
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_VERBOSE));
286286

287287
std::lock_guard<std::recursive_mutex> locker(m_exception_messages_mutex);
288288
if (m_exception_messages.empty()) {
@@ -300,7 +300,7 @@ void NativeProcessDarwin::ExceptionMessageReceived(
300300
}
301301

302302
void *NativeProcessDarwin::ExceptionThread(void *arg) {
303-
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS ));
303+
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_VERBOSE));
304304
if (!arg) {
305305
if (log)
306306
log->Printf("NativeProcessDarwin::%s(): cannot run mach exception "
@@ -313,7 +313,7 @@ void *NativeProcessDarwin::ExceptionThread(void *arg) {
313313
}
314314

315315
void *NativeProcessDarwin::DoExceptionThread() {
316-
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS ));
316+
Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_VERBOSE));
317317

318318
if (log)
319319
log->Printf("NativeProcessDarwin::%s(arg=%p) starting thread...",
@@ -1378,7 +1378,7 @@ NativeProcessDarwin::GetTaskBasicInfo(task_t task,
13781378
}
13791379

13801380
Log *verbose_log(
1381-
GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS ));
1381+
GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS | LIBLLDB_LOG_VERBOSE));
13821382
if (verbose_log) {
13831383
float user = (float)info->user_time.seconds +
13841384
(float)info->user_time.microseconds / 1000000.0f;

0 commit comments

Comments
 (0)