Adds createEsanInitToolGV for creating a tool-specific variable passed
to the runtime library.
Adds dtor "esan.module_dtor" and inserts calls from the dtor to
"__esan_exit" in the runtime library.
Updates the EfficiencySanitizer test.
Paths
| Differential D20488
[esan] Add calls from the ctor/dtor to the runtime library ClosedPublic Authored by zhaoqin on May 20 2016, 1:38 PM.
Details Summary Adds createEsanInitToolGV for creating a tool-specific variable passed Adds dtor "esan.module_dtor" and inserts calls from the dtor to Updates the EfficiencySanitizer test.
Diff Detail
Event Timelinezhaoqin updated this object.
This revision is now accepted and ready to land.May 20 2016, 3:08 PM
zhaoqin added a child revision: D20541: [esan|cfrag] Create the skeleton of cfrag variable for the runtime.May 24 2016, 12:34 PM zhaoqin added inline comments.
Closed by commit rL270627: [esan] Add calls from the ctor/dtor to the runtime library (authored by bruening). · Explain WhyMay 24 2016, 3:54 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 58346 llvm/trunk/lib/Transforms/Instrumentation/EfficiencySanitizer.cpp
llvm/trunk/test/Instrumentation/EfficiencySanitizer/cache_frag_basic.ll
|