[PATCH] D21594: [esan|cfrag] Add counters for struct array accesses

Qin Zhao via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 21 20:26:58 PDT 2016


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

Adds one counter to the struct field counter array for counting struct
array accesses.

Adds instrumentation to insert counter update for struct array
accesses.

http://reviews.llvm.org/D21594

Files:
  lib/Transforms/Instrumentation/EfficiencySanitizer.cpp
  test/Instrumentation/EfficiencySanitizer/struct_field_count_basic.ll
  test/Instrumentation/EfficiencySanitizer/struct_field_gep.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21594.61493.patch
Type: text/x-patch
Size: 25255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160622/201305bf/attachment.bin>


More information about the llvm-commits mailing list