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

Qin Zhao via llvm-commits llvm-commits at lists.llvm.org
Fri May 20 13:38:37 PDT 2016


zhaoqin created this revision.
zhaoqin added a reviewer: aizatsky.
zhaoqin added subscribers: llvm-commits, eugenis, vitalybuka, kcc, bruening.

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.

http://reviews.llvm.org/D20488

Files:
  lib/Transforms/Instrumentation/EfficiencySanitizer.cpp
  test/Instrumentation/EfficiencySanitizer/cache_frag_basic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20488.57983.patch
Type: text/x-patch
Size: 4449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160520/c6f8bf0c/attachment.bin>


More information about the llvm-commits mailing list