[PATCH] D88361: [sanitizer] Skip stack symbolization when not required for print format

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 17:51:14 PDT 2020


vitalybuka added inline comments.


================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_stacktrace_printer.cpp:109-111
 void RenderFrame(InternalScopedString *buffer, const char *format, int frame_no,
                  const AddressInfo &info, bool vs_style,
                  const char *strip_path_prefix, const char *strip_func_prefix) {
----------------
maybe
and pass info as nullptr for frames without symbolization call
to crash if RenderNeedsSymbolization was wrong.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88361/new/

https://reviews.llvm.org/D88361



More information about the llvm-commits mailing list