[compiler-rt] [NFC][sanitizer_symbolizer]Add StackTracePrinter class (PR #66530)
Andres Villegas via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 15 13:37:20 PDT 2023
=?utf-8?q?Andr=C3=A9s?= Villegas <andresvi at google.com>
Message-ID:
In-Reply-To: <llvm/llvm-project/pull/66530/compiler-rt at github.com>
================
@@ -12,13 +12,28 @@
#include "sanitizer_stacktrace_printer.h"
+#include "sanitizer_common.h"
#include "sanitizer_file.h"
#include "sanitizer_flags.h"
#include "sanitizer_fuchsia.h"
namespace __sanitizer {
-const char *StripFunctionName(const char *function) {
+StackTracePrinter *StackTracePrinter::stacktrace_printer_;
----------------
avillega wrote:
made both static local to the function
https://github.com/llvm/llvm-project/pull/66530
More information about the llvm-commits
mailing list