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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 2723213002: DWARF and unwind support for AOT assembly output. (Closed)
Patch Set: . Created 3 years, 9 months 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/dart_api_impl.cc
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index f8db6b46f4e2130457dfdde4edb24ce1dcbc7451..974e9095ec68a29fce2917e7b905337a62730eac 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -6706,6 +6706,11 @@ Dart_CreateAppAOTSnapshotAsBlobs(uint8_t** vm_snapshot_data_buffer,
return Api::NewError(
"This VM was built without support for AOT compilation.");
#else
+ if (FLAG_dwarf_stack_traces) {
+ return Api::NewError(
+ "--dwarf_stack_traces requires creating an AOT snapshot as assembly.");
+ }
+
API_TIMELINE_DURATION;
DARTSCOPE(Thread::Current());
Isolate* I = T->isolate();
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/datastream.h » ('j') | runtime/vm/dwarf.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698