diff options
Diffstat (limited to 'compiler-rt/lib/esan/esan_interface_internal.h')
| -rw-r--r-- | compiler-rt/lib/esan/esan_interface_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/esan/esan_interface_internal.h b/compiler-rt/lib/esan/esan_interface_internal.h index a8b9e0887e6..577c7e3cf9e 100644 --- a/compiler-rt/lib/esan/esan_interface_internal.h +++ b/compiler-rt/lib/esan/esan_interface_internal.h @@ -32,7 +32,8 @@ typedef enum Type : u32 { // This function should be called at the very beginning of the process, // before any instrumented code is executed and before any call to malloc. -SANITIZER_INTERFACE_ATTRIBUTE void __esan_init(ToolType Tool); +SANITIZER_INTERFACE_ATTRIBUTE void __esan_init(ToolType Tool, void *Ptr); +SANITIZER_INTERFACE_ATTRIBUTE void __esan_exit(void *Ptr); // The instrumentation module will insert a call to one of these routines prior // to each load and store instruction for which we do not have "fastpath" |

