We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1042c3c commit 9096fcdCopy full SHA for 9096fcd
1 file changed
upb/port/sanitizers.h
@@ -67,17 +67,6 @@ UPB_INLINE void UPB_PRIVATE(upb_Xsan_Init)(upb_Xsan *xsan) {
67
#endif
68
}
69
70
-UPB_INLINE void UPB_PRIVATE(upb_Xsan_MarkInitialized)(void* addr, size_t size) {
71
-#if UPB_HAS_FEATURE(memory_sanitizer)
72
- if (size) {
73
- __msan_unpoison(addr, size);
74
- }
75
-#else
76
- UPB_UNUSED(addr);
77
- UPB_UNUSED(size);
78
-#endif
79
-}
80
-
81
// Marks the given region as poisoned, meaning that it is not accessible until
82
// it is unpoisoned.
83
UPB_INLINE void UPB_PRIVATE(upb_Xsan_PoisonRegion)(const void *addr,
0 commit comments