Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Side by Side Diff: runtime/include/dart_api.h

Issue 2514113002: Dump stack trace on segfault in the VM. (Closed)
Patch Set: fix build Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/bin/platform_macos.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 * Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 * for details. All rights reserved. Use of this source code is governed by a 3 * for details. All rights reserved. Use of this source code is governed by a
4 * BSD-style license that can be found in the LICENSE file. 4 * BSD-style license that can be found in the LICENSE file.
5 */ 5 */
6 6
7 #ifndef RUNTIME_INCLUDE_DART_API_H_ 7 #ifndef RUNTIME_INCLUDE_DART_API_H_
8 #define RUNTIME_INCLUDE_DART_API_H_ 8 #define RUNTIME_INCLUDE_DART_API_H_
9 9
10 /** \mainpage Dart Embedding API Reference 10 /** \mainpage Dart Embedding API Reference
(...skipping 3218 matching lines...) Expand 10 before | Expand all | Expand 10 after
3229 intptr_t* rodata_blob_size); 3229 intptr_t* rodata_blob_size);
3230 3230
3231 3231
3232 /** 3232 /**
3233 * Returns whether the VM only supports running from precompiled snapshots and 3233 * Returns whether the VM only supports running from precompiled snapshots and
3234 * not from any other kind of snapshot or from source (that is, the VM was 3234 * not from any other kind of snapshot or from source (that is, the VM was
3235 * compiled with DART_PRECOMPILED_RUNTIME). 3235 * compiled with DART_PRECOMPILED_RUNTIME).
3236 */ 3236 */
3237 DART_EXPORT bool Dart_IsPrecompiledRuntime(); 3237 DART_EXPORT bool Dart_IsPrecompiledRuntime();
3238 3238
3239
3240 /**
3241 * Print a stack trace. Used for crash handling.
siva 2016/11/22 06:28:32 Print a native stack trace.....
Florian Schneider 2016/11/23 18:27:08 Done.
3242 */
3243 DART_EXPORT void Dart_DumpNativeStackTrace(void* context);
3244
3239 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */ 3245 #endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
OLDNEW
« no previous file with comments | « runtime/bin/platform_macos.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698