OSDN Git Service

[esan|cfrag] Add the struct field size array in StructInfo
authorQin Zhao <zhaoqin@google.com>
Fri, 17 Jun 2016 04:50:20 +0000 (04:50 +0000)
committerQin Zhao <zhaoqin@google.com>
Fri, 17 Jun 2016 04:50:20 +0000 (04:50 +0000)
commit4e01f2cc2f18314c0fc4bda1fd6fab2d82dc42b6
tree058c550b239ed72064ac216dfaf140b6ba280d6b
parent28ae6d84be6d224f1d336b512f3abc55a6e89d62
[esan|cfrag] Add the struct field size array in StructInfo

Summary:
Adds the struct field size array in struct StructInfo.

Updates test struct_field_count_basic.ll.

Reviewers: aizatsky

Subscribers: vitalybuka, zhaoqin, kcc, eugenis, bruening, llvm-commits

Differential Revision: http://reviews.llvm.org/D21341

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272989 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/EfficiencySanitizer.cpp
test/Instrumentation/EfficiencySanitizer/struct_field_count_basic.ll
test/Instrumentation/EfficiencySanitizer/struct_field_gep.ll