• rmcilroy's avatar
    Replace DumpBacktrace with Chromium's StackTrace implementation. · 49c14f63
    rmcilroy authored
    Adds support for dumping the stack on Windows. Also enables in-process
    stack dumping in d8 to dump the stack on exceptions and signals.
    
    This CL changes the format of stack dumps from:
     1: V8_Fatal
     2: 0x1ac6ba5
     3: v8::internal::interpreter::BytecodeGenerator::Visit(v8::internal::AstNode*)
     4: v8::internal::interpreter::BytecodeGenerator::VisitForAccumulatorValue(v8::internal::Expression*)
     ...
    
    To:
      ./out/x64.debug/d8(v8::base::debug::StackTrace::StackTrace()+0x1e) [0x1c6ee5e]
      ./out/x64.debug/d8() [0x1c6ede5]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x10330) [0x7fa01193e330]
      ./out/x64.debug/d8(v8::base::OS::Abort()+0x12) [0x1c6cea2]
      ./out/x64.debug/d8() [0x1c67538]
      ./out/x64.debug/d8() [0x1ac80b5]
      ./out/x64.debug/d8(v8::internal::interpreter::BytecodeGenerator
    ::Visit(v8::internal::AstNode*)+0x3cb) [0x1ac323b]
      ./out/x64.debug/d8(v8::internal::interpreter::BytecodeGenerator
    ::VisitForAccumulatorValue(v8::internal::Expression*)+0x40) [0x1ac2570]
    
    Review-Url: https://codereview.chromium.org/2248393002
    Cr-Commit-Position: refs/heads/master@{#38717}
    49c14f63
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party/binutils Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...