1fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris/* 2fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * Copyright (C) 2015 The Android Open Source Project 3fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * All rights reserved. 4fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * 5fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * Redistribution and use in source and binary forms, with or without 6fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * modification, are permitted provided that the following conditions 7fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * are met: 8fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * * Redistributions of source code must retain the above copyright 9fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * notice, this list of conditions and the following disclaimer. 10fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * * Redistributions in binary form must reproduce the above copyright 11fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * notice, this list of conditions and the following disclaimer in 12fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * the documentation and/or other materials provided with the 13fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * distribution. 14fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * 15fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 16fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 17fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 18fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 19fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 20fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 21fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 22fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 23fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 25fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris * SUCH DAMAGE. 27fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris */ 28fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris 29be92dfd38fce4a76e623796b423ee8ddd49fd928Christopher Ferris#ifndef _JEMALLOC_LIBC_LOG_LOG_H 30be92dfd38fce4a76e623796b423ee8ddd49fd928Christopher Ferris#define _JEMALLOC_LIBC_LOG_LOG_H 31fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris 32fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris/* Convert this to an abort for jemalloc tests. */ 33be92dfd38fce4a76e623796b423ee8ddd49fd928Christopher Ferris#define async_safe_fatal(format, ...) abort() 34fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris 35fc0bd6b6750515ce7cc7fe895764d4b2a1733283Christopher Ferris#endif /* _JEMALLOC_LIBC_LOGGING_H */ 36