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

Side by Side Diff: runtime/vm/log.cc

Issue 2715463003: Add option to gen_snapshot for creating a Makefile describing a snapshot's dependencies. (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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/log.h" 5 #include "vm/log.h"
6 6
7 #include "vm/flags.h" 7 #include "vm/flags.h"
8 #include "vm/isolate.h"
8 #include "vm/thread.h" 9 #include "vm/thread.h"
9 10
10 namespace dart { 11 namespace dart {
11 12
12 DEFINE_FLAG(bool, force_log_flush, false, "Always flush log messages."); 13 DEFINE_FLAG(bool, force_log_flush, false, "Always flush log messages.");
13 14
14 DEFINE_FLAG(charp, 15 DEFINE_FLAG(charp,
15 isolate_log_filter, 16 isolate_log_filter,
16 NULL, 17 NULL,
17 "Log isolates whose name include the filter. " 18 "Log isolates whose name include the filter. "
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 log_->EnableManualFlush(); 178 log_->EnableManualFlush();
178 } 179 }
179 180
180 181
181 LogBlock::~LogBlock() { 182 LogBlock::~LogBlock() {
182 log_->Flush(cursor_); 183 log_->Flush(cursor_);
183 log_->DisableManualFlush(); 184 log_->DisableManualFlush();
184 } 185 }
185 186
186 } // namespace dart 187 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698