msan_flags.h 780 B

1234567891011121314151617181920212223242526272829
  1. //===-- msan_flags.h --------------------------------------------*- C++ -*-===//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. //
  9. // This file is a part of MemorySanitizer.
  10. //
  11. //===----------------------------------------------------------------------===//
  12. #ifndef MSAN_FLAGS_H
  13. #define MSAN_FLAGS_H
  14. namespace __msan {
  15. struct Flags {
  16. #define MSAN_FLAG(Type, Name, DefaultValue, Description) Type Name;
  17. #include "msan_flags.inc"
  18. #undef MSAN_FLAG
  19. void SetDefaults();
  20. };
  21. Flags *flags();
  22. } // namespace __msan
  23. #endif // MSAN_FLAGS_H