diff options
Diffstat (limited to 'src/jit/gentree.h')
-rw-r--r-- | src/jit/gentree.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/jit/gentree.h b/src/jit/gentree.h index e639d5400e..ab8888da10 100644 --- a/src/jit/gentree.h +++ b/src/jit/gentree.h @@ -3460,6 +3460,8 @@ struct GenTreeCall final : public GenTree #define GTF_CALL_M_GUARDED 0x00200000 // GT_CALL -- this call was transformed by guarded devirtualization #define GTF_CALL_M_ALLOC_SIDE_EFFECTS 0x00400000 // GT_CALL -- this is a call to an allocator with side effects +#define GTF_CALL_M_ASAN 0x00800000 // GT_CALL -- an external call to libasan + // clang-format on bool IsUnmanaged() const @@ -3685,6 +3687,13 @@ struct GenTreeCall final : public GenTree return (gtCallMoreFlags & GTF_CALL_M_UNBOXED) != 0; } +#if FEATURE_ASAN_INTEGRATION + bool IsAsanCall() const + { + return (gtCallMoreFlags & GTF_CALL_M_ASAN) != 0; + } +#endif + void ClearGuardedDevirtualizationCandidate() { gtCallMoreFlags &= ~GTF_CALL_M_GUARDED_DEVIRT; |