[all-commits] [llvm/llvm-project] 7cd1c0: [windows][support] Improve backtrace emitted in cr...

bd1976bris via All-commits all-commits at lists.llvm.org
Mon Jun 20 04:34:56 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cd1c01c8e855704ffa963778e51e8cd3030c6bf
  Author: Ben Dunbobbin <Ben.Dunbobbin at sony.com>
  Date:   2022-06-20 (Mon, 20 Jun 2022)

  Changed paths:
    M llvm/lib/Support/Windows/Signals.inc

  Log Message:
  [windows][support] Improve backtrace emitted in crash report without llvm-symbolizer

Currently the backtrace emitted on windows when llvm-symbolizer is not
available includes addresses which cannot be easily decoded because
the addresses have the containing module's run-time base address added
into them, but we don't know what those base addresses are. This
change emits a module offset rather than an address.

There are a couple of related changes which were included as a result
of the review discussion for this patch:
- I have also removed the parameter printing as it adds noise to the
  dump and doesn't seem useful.
- I have added the exception code to the backtrace.

Differential Review: https://reviews.llvm.org/D127915

More information about the All-commits mailing list