1 | //===--------- Definition of the AddressSanitizer options -------*- C++ -*-===// |
2 | // |
3 | // The LLVM Compiler Infrastructure |
4 | // |
5 | // This file is distributed under the University of Illinois Open Source |
6 | // License. See LICENSE.TXT for details. |
7 | // |
8 | //===----------------------------------------------------------------------===// |
9 | // This file defines data types used to set Address Sanitizer options. |
10 | //===----------------------------------------------------------------------===// |
11 | #ifndef LLVM_TRANSFORMS_INSTRUMENTATION_ADDRESSSANITIZEROPTIONS_H |
12 | #define LLVM_TRANSFORMS_INSTRUMENTATION_ADDRESSSANITIZEROPTIONS_H |
13 | |
14 | namespace llvm { |
15 | |
16 | /// Types of ASan module destructors supported |
17 | enum class AsanDtorKind { |
18 | None, ///< Do not emit any destructors for ASan |
19 | Global, ///< Append to llvm.global_dtors |
20 | Invalid, ///< Not a valid destructor Kind. |
21 | // TODO(dliew): Add more more kinds. |
22 | }; |
23 | } // namespace llvm |
24 | #endif |
25 | |