mirror of
https://github.com/dart-lang/sdk
synced 2024-09-20 04:31:31 +00:00
d77a6064a9
- Fix duplication of top frame from the native stack walker - Include frame pointer, useful for debugging stack overflows - Print dso name and offset when no symbol is available at runtime to allow offline symbolification Change-Id: I150d508e7c370c26ddd836b9dd50c2a465c19ebf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98432 Reviewed-by: Zach Anderson <zra@google.com>
22 lines
509 B
C++
22 lines
509 B
C++
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
#include "vm/malloc_hooks.h"
|
|
|
|
#include "vm/globals.h"
|
|
|
|
#if defined(HOST_ARCH_IA32)
|
|
|
|
namespace dart {
|
|
|
|
#if defined(DEBUG)
|
|
const intptr_t kSkipCount = 5;
|
|
#elif !(defined(PRODUCT) || defined(DEBUG))
|
|
const intptr_t kSkipCount = 4;
|
|
#endif
|
|
|
|
} // namespace dart
|
|
|
|
#endif // defined(HOST_ARCH_IA32)
|