gecko/xpcom/build/mozPoisonWriteStub.cpp
Rafael Ávila de Espíndola 7f776661b8 Bug 732173 - poison write during shutdown in a debug build. r=ted.
With this patch we now patch the write functions during shutdown in a debug
build and abort if a non white listed write is found.
2012-07-03 09:15:34 -04:00

19 lines
514 B
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* vim:set ts=4 sw=4 sts=4 ci et: */
/* 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/. */
namespace mozilla {
void PoisonWrite() {
}
void DisableWritePoisoning() {
}
}
extern "C" {
void MozillaRegisterDebugFD(int fd) {
}
void MozillaUnRegisterDebugFD(int fd) {
}
}