diff options
Diffstat (limited to 'linker/linker_debug.h')
-rw-r--r-- | linker/linker_debug.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/linker/linker_debug.h b/linker/linker_debug.h index bf9ef921f..6aeb9ac1e 100644 --- a/linker/linker_debug.h +++ b/linker/linker_debug.h @@ -31,10 +31,16 @@ #include <stdio.h> -/* set LINKER_DEBUG_TO_LOG to 1 to send the logs to logcat, - * or 0 to use stdout instead. - */ +// You can increase the verbosity of debug traces by defining the LD_DEBUG +// environment variable to a numeric value from 0 to 2 (corresponding to +// INFO, TRACE, and DEBUG calls in the source). This will only +// affect new processes being launched. + +// By default, traces are sent to logcat, with the "linker" tag. You can +// change this to go to stdout instead by setting the definition of +// LINKER_DEBUG_TO_LOG to 0. #define LINKER_DEBUG_TO_LOG 1 + #define TRACE_DEBUG 1 #define DO_TRACE_LOOKUP 1 #define DO_TRACE_RELO 1 |