dart-sdk/runtime/vm/malloc_hooks_arm64.cc
Ryan Macnak d77a6064a9 [vm, profiler] Improve profiler stacks and VM backtraces.
- 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>
2019-04-02 22:45:24 +00:00

18 lines
410 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_ARM64)
namespace dart {
const intptr_t kSkipCount = 4;
} // namespace dart
#endif // defined(HOST_ARCH_ARM64)