blob: f8d9d3b7d18ce5945640b94fbac969db8a0f7440 [file] [log] [blame]
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <sanitizer/asan_interface.h>
// This exists to be built into every executable selected to use the
// asan_no_detect_leaks variant. ASan applies the options here before
// looking at the ASAN_OPTIONS environment variable.
const char* __asan_default_options(void) {
// This macro is defined by BUILD.gn from the `asan_default_options` GN
// build argument.
return ASAN_DEFAULT_OPTIONS;
}