Debian Codegraph @

build/sanitizers/UbsanOptions.cpp

raw
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 #include "mozilla/Attributes.h"
7 #include "mozilla/Types.h"
8
9 extern "C" MOZ_EXPORT const char* __ubsan_default_options() {
10 return "print_stacktrace=1:handle_sigill=1:handle_abort=1:handle_sigtrap=1";
11 }
12
13 extern "C" MOZ_EXPORT const char* __ubsan_default_suppressions() { return ""; }