diff options
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp index 286a5633024..42c20339d5a 100644 --- a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp +++ b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp @@ -1867,15 +1867,15 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> { }; static IntrinsicKind getIntrinsicKind(Intrinsic::ID iid) { - const int DoesNotAccessMemory = IK_DoesNotAccessMemory; - const int OnlyReadsArgumentPointees = IK_OnlyReadsMemory; - const int OnlyReadsMemory = IK_OnlyReadsMemory; - const int OnlyAccessesArgumentPointees = IK_WritesMemory; - const int UnknownModRefBehavior = IK_WritesMemory; + const int FMRB_DoesNotAccessMemory = IK_DoesNotAccessMemory; + const int FMRB_OnlyReadsArgumentPointees = IK_OnlyReadsMemory; + const int FMRB_OnlyReadsMemory = IK_OnlyReadsMemory; + const int FMRB_OnlyAccessesArgumentPointees = IK_WritesMemory; + const int FMRB_UnknownModRefBehavior = IK_WritesMemory; #define GET_INTRINSIC_MODREF_BEHAVIOR -#define ModRefBehavior IntrinsicKind +#define FunctionModRefBehavior IntrinsicKind #include "llvm/IR/Intrinsics.gen" -#undef ModRefBehavior +#undef FunctionModRefBehavior #undef GET_INTRINSIC_MODREF_BEHAVIOR } |