mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
![Ryan Macnak](/assets/img/avatar_default.png)
- 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
507 B
C++
22 lines
507 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_X64)
|
|
|
|
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_X64)
|