gecko-dev/toolkit/recordreplay/DirtyMemoryHandler.h
Brian Hackett cadd8f1037 Bug 1464903 Part 8 - Heap memory snapshots, r=froydnj.
--HG--
extra : rebase_source : 51bd94455e1f616bcf947e24f775f05abe686a3d
2018-07-22 11:46:33 +00:00

21 lines
745 B
C++

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef mozilla_recordreplay_DirtyMemoryHandler_h
#define mozilla_recordreplay_DirtyMemoryHandler_h
namespace mozilla {
namespace recordreplay {
// Set up a handler to catch SEGV hardware exceptions and pass them on to
// HandleDirtyMemoryFault in MemorySnapshot.h for handling.
void SetupDirtyMemoryHandler();
} // namespace recordreplay
} // namespace mozilla
#endif // mozilla_recordreplay_DirtyMemoryHandler_h