[PATCH] D32517: [ubsan] Fall back to the fast unwinder when print_stacktrace=1

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 1 14:26:04 PDT 2017


vsk added inline comments.


================
Comment at: lib/ubsan/ubsan_diag.cc:37
+  uptr bottom = 0;
+  const bool request_fast_unwind = false;
+  if (StackTrace::WillUseFastUnwind(request_fast_unwind))
----------------
eugenis wrote:
> use common_flags()->fast_unwind_on_fatal here
Ok. I think it would also make sense to enable the fast unwinder when fast_unwind_on_check is set, then.


https://reviews.llvm.org/D32517





More information about the llvm-commits mailing list