summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2020-09-25 15:01:23 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2020-09-28 08:20:23 -0700
commitb9488accf9e2cbf5f7c47b42b3eb23469f0aa58d (patch)
treed7c1cf60907100f903c06ff12e2918b77b9961db /vm.c
parentb328b830264408b467a5c904a474e7112c5d678c (diff)
Fix ASAN support when invalidating CCs
Again, this code is walking the heap. Empty slots can be poisoned, so we need to unpoison before checking the type
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3592
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm.c b/vm.c
index 076bbbe..1b8b548 100644
--- a/vm.c
+++ b/vm.c
@@ -25,6 +25,7 @@
#include "internal/re.h"
#include "internal/symbol.h"
#include "internal/vm.h"
+#include "internal/sanitizers.h"
#include "iseq.h"
#include "mjit.h"
#include "ruby/st.h"