[PATCH] D21594: [esan|cfrag] Add counters for struct array accesses
Qin Zhao via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 1 15:45:16 PDT 2016
zhaoqin added a comment.
Even without esan instrumentation, the same error.
/usr/local/google/home/zhaoqin/Workspace/LLVM/builds/build_x64_rel.git/./bin/opt < /usr/local/google/home/zhaoqin/Workspace/LLVM/llvm.git/test/Instrumentation/EfficiencySanitizer/struct_field_gep.ll -S/usr/local/google/home/zhaoqin/Workspace/LLVM/builds/build_x64_rel.git/./bin/opt: <stdin>:28:50: error: invalid getelementptr indices
%arrayidx = getelementptr inbounds %struct.ST, %struct.ST* %s, i64 0, i32 -1
^
http://reviews.llvm.org/D21594
More information about the llvm-commits
mailing list