[PATCH] D20661: [esan|cfrag] Create the cfrag struct array for the runtime
Qin Zhao via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 1 11:43:46 PDT 2016
zhaoqin added inline comments.
================
Comment at: lib/Transforms/Instrumentation/EfficiencySanitizer.cpp:293
@@ +292,3 @@
+ for (auto &StructTy : Vec) {
+ if (shouldIgnoreStructType(StructTy))
+ continue;
----------------
aizatsky wrote:
> Do you need a counter for ignored structs?
those Struct are special struct like struct without a body, so does not really need remember how many unless for stats purposes.
Add stats for it.
http://reviews.llvm.org/D20661
More information about the llvm-commits
mailing list