| Index: runtime/vm/profiler.h
|
| diff --git a/runtime/vm/profiler.h b/runtime/vm/profiler.h
|
| index 1a44ed9f196ad37bf75c95c6b530fbd74eb07495..8972fe0ee42e9e2af3a21c6e2525a2db43f1dacc 100644
|
| --- a/runtime/vm/profiler.h
|
| +++ b/runtime/vm/profiler.h
|
| @@ -59,7 +59,7 @@ class Profiler : public AllStatic {
|
| static SampleBuffer* sample_buffer() { return sample_buffer_; }
|
|
|
| static void DumpStackTrace(void* context);
|
| - static void DumpStackTrace();
|
| + static void DumpStackTrace(bool for_crash = true);
|
|
|
| static void SampleAllocation(Thread* thread, intptr_t cid);
|
| static Sample* SampleNativeAllocation(intptr_t skip_count,
|
| @@ -82,7 +82,7 @@ class Profiler : public AllStatic {
|
| }
|
|
|
| private:
|
| - static void DumpStackTrace(uword sp, uword fp, uword pc);
|
| + static void DumpStackTrace(uword sp, uword fp, uword pc, bool for_crash);
|
|
|
| // Does not walk the thread's stack.
|
| static void SampleThreadSingleFrame(Thread* thread, uintptr_t pc);
|
|
|