[PATCH] D52743: [sanitizer] Include inlined frames into __sanitizer_symbolize_pc output

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 1 15:46:04 PDT 2018


vitalybuka added inline comments.


================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_stacktrace_libcdep.cc:126
+                common_flags()->strip_path_prefix);
+    if (!frame_desc.length())
+      continue;
----------------
eugenis wrote:
> what does this condition do?
you can provide weird "fmt" which will result in empty strings.
Having that empty string is terminator we'd like to avoid them in the middle.


Repository:
  rL LLVM

https://reviews.llvm.org/D52743





More information about the llvm-commits mailing list