diff options
Diffstat (limited to 'libunwindstack/include/unwindstack/Unwinder.h')
-rw-r--r-- | libunwindstack/include/unwindstack/Unwinder.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libunwindstack/include/unwindstack/Unwinder.h b/libunwindstack/include/unwindstack/Unwinder.h index ebe7b0a..5770c1a 100644 --- a/libunwindstack/include/unwindstack/Unwinder.h +++ b/libunwindstack/include/unwindstack/Unwinder.h @@ -75,6 +75,10 @@ class Unwinder { void SetJitDebug(JitDebug* jit_debug, ArchEnum arch); + // Disabling the resolving of names results in the function name being + // set to an empty string and the function offset being set to zero. + void SetResolveNames(bool resolve) { resolve_names_ = resolve; } + #if !defined(NO_LIBDEXFILE_SUPPORT) void SetDexFiles(DexFiles* dex_files, ArchEnum arch); #endif @@ -95,6 +99,7 @@ class Unwinder { #if !defined(NO_LIBDEXFILE_SUPPORT) DexFiles* dex_files_ = nullptr; #endif + bool resolve_names_ = true; ErrorData last_error_; }; |