2012-12-25 19:53:51 +08:00
|
|
|
//===-- msan_flags.h --------------------------------------------*- C++ -*-===//
|
2012-12-11 20:27:27 +08:00
|
|
|
//
|
2019-01-19 16:50:56 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2012-12-11 20:27:27 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file is a part of MemorySanitizer.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef MSAN_FLAGS_H
|
|
|
|
#define MSAN_FLAGS_H
|
|
|
|
|
|
|
|
namespace __msan {
|
|
|
|
|
|
|
|
struct Flags {
|
2015-01-07 08:38:00 +08:00
|
|
|
#define MSAN_FLAG(Type, Name, DefaultValue, Description) Type Name;
|
|
|
|
#include "msan_flags.inc"
|
|
|
|
#undef MSAN_FLAG
|
|
|
|
|
|
|
|
void SetDefaults();
|
2012-12-11 20:27:27 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
Flags *flags();
|
|
|
|
|
|
|
|
} // namespace __msan
|
|
|
|
|
|
|
|
#endif // MSAN_FLAGS_H
|