summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/esan/working_set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/esan/working_set.cpp')
-rw-r--r--compiler-rt/lib/esan/working_set.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/esan/working_set.cpp b/compiler-rt/lib/esan/working_set.cpp
index 3cee6155b2a..68ea9e74a24 100644
--- a/compiler-rt/lib/esan/working_set.cpp
+++ b/compiler-rt/lib/esan/working_set.cpp
@@ -78,6 +78,7 @@ void processRangeAccessWorkingSet(uptr PC, uptr Addr, SIZE_T Size,
void initializeWorkingSet() {
// The shadow mapping assumes 64 so this cannot be changed.
CHECK(getFlags()->cache_line_size == 64);
+ registerMemoryFaultHandler();
}
int finalizeWorkingSet() {
OpenPOWER on IntegriCloud