[PATCH] D20486: [esan] Add compilation unit init/exit routines.
Mike Aizatsky via llvm-commits
llvm-commits at lists.llvm.org
Fri May 20 13:56:04 PDT 2016
aizatsky added inline comments.
================
Comment at: lib/esan/esan.h:40
@@ -39,1 +39,3 @@
int finalizeLibrary();
+void processCompilationUnitInit(void *Ptr);
+void processCompilationUnitExit(void *Ptr);
----------------
Document Ptr.
================
Comment at: lib/esan/esan_interface.cpp:25
@@ +24,3 @@
+
+void __esan_exit(void *Ptr) {
+ processCompilationUnitExit(Ptr);
----------------
Do you want to pass Tool in as well?
http://reviews.llvm.org/D20486
More information about the llvm-commits
mailing list