[PATCH] D20488: [esan] Add calls from the ctor/dtor to the runtime library

Mike Aizatsky via llvm-commits llvm-commits at lists.llvm.org
Fri May 20 13:54:19 PDT 2016


aizatsky added inline comments.

================
Comment at: lib/Transforms/Instrumentation/EfficiencySanitizer.cpp:209
@@ +208,3 @@
+  // Destructor
+  EsanDtorFunction = Function::Create(FunctionType::get(Type::getVoidTy(*Ctx),
+                                                        false),
----------------
Please extract createDestructor function as well.


http://reviews.llvm.org/D20488





More information about the llvm-commits mailing list