diff options
| author | Pavel <operasfantom@gmail.com> | 2022-07-04 01:27:43 +0400 |
|---|---|---|
| committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2022-09-14 20:40:10 +0100 |
| commit | d14b7dc335f1dc31a53602cee48f05e415edbfe5 (patch) | |
| tree | 54fe78941225d94836d5baf109b98d858ae5734f /runtime/Sanitizer/ubsan/ubsan_handlers.h | |
| parent | f3f4736956bb906e480d7ba50e1836c611f26be7 (diff) | |
| download | klee-d14b7dc335f1dc31a53602cee48f05e415edbfe5.tar.gz | |
Remove LLVM version < 9
Diffstat (limited to 'runtime/Sanitizer/ubsan/ubsan_handlers.h')
| -rw-r--r-- | runtime/Sanitizer/ubsan/ubsan_handlers.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/Sanitizer/ubsan/ubsan_handlers.h b/runtime/Sanitizer/ubsan/ubsan_handlers.h index da111ff6..f6c36fe5 100644 --- a/runtime/Sanitizer/ubsan/ubsan_handlers.h +++ b/runtime/Sanitizer/ubsan/ubsan_handlers.h @@ -25,13 +25,11 @@ struct TypeMismatchData { unsigned char TypeCheckKind; }; -#if LLVM_VERSION_MAJOR >= 8 struct AlignmentAssumptionData { SourceLocation Loc; SourceLocation AssumptionLoc; const TypeDescriptor &Type; }; -#endif struct OverflowData { SourceLocation Loc; @@ -64,7 +62,6 @@ struct InvalidValueData { const TypeDescriptor &Type; }; -#if LLVM_VERSION_MAJOR >= 7 /// Known implicit conversion check kinds. /// Keep in sync with the enum of the same name in CGExprScalar.cpp enum ImplicitConversionCheckKind : unsigned char { @@ -74,16 +71,13 @@ enum ImplicitConversionCheckKind : unsigned char { ICCK_IntegerSignChange = 3, ICCK_SignedIntegerTruncationOrSignChange = 4, }; -#endif -#if LLVM_VERSION_MAJOR >= 7 struct ImplicitConversionData { SourceLocation Loc; const TypeDescriptor &FromType; const TypeDescriptor &ToType; /* ImplicitConversionCheckKind */ unsigned char Kind; }; -#endif struct InvalidBuiltinData { SourceLocation Loc; |
