summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/Config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/malloc_debug/Config.cpp')
-rw-r--r--libc/malloc_debug/Config.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/malloc_debug/Config.cpp b/libc/malloc_debug/Config.cpp
index 2c94fe81f..96fc27f73 100644
--- a/libc/malloc_debug/Config.cpp
+++ b/libc/malloc_debug/Config.cpp
@@ -93,6 +93,9 @@ const std::unordered_map<std::string, Config::OptionInfo> Config::kOptions = {
{
"backtrace_dump_prefix", {0, &Config::SetBacktraceDumpPrefix},
},
+ {
+ "backtrace_full", {BACKTRACE_FULL, &Config::VerifyValueEmpty},
+ },
{
"fill", {FILL_ON_ALLOC | FILL_ON_FREE, &Config::SetFill},
@@ -363,6 +366,11 @@ void Config::LogUsage() const {
error_log(" backtrace_dump_prefix.<PID>.final.txt.");
error_log(" The default is false.");
error_log("");
+ error_log(" backtrace_full");
+ error_log(" Any time a backtrace is acquired, use an unwinder that can");
+ error_log(" display Java stack frames. This unwinder can run slower than");
+ error_log(" normal unwinder.");
+ error_log("");
error_log(" fill_on_alloc[=XX]");
error_log(" On first allocation, fill with the value 0x%02x.", DEFAULT_FILL_ALLOC_VALUE);
error_log(" If XX is set it will only fill up to XX bytes of the");