commit | 8aaeebdaac90cbbee633672c8d406d1ea83819ab | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Tue Jul 13 16:13:02 2021 -0700 |
committer | Yabin Cui <yabinc@google.com> | Tue Jul 13 16:13:02 2021 -0700 |
tree | f6279d4d51a73c0d674c8d0a227bcd604eda2184 | |
parent | efe810de08f8224f40bc88ebdf2d8fc0e1f264be [diff] |
simpleperf: fix reading filev2 section. Without clearance, the dex_file_offsets of a dex file may be wrongly inherted by the following elf files. So use FileFeature::Clear() to clear state before reading FileFeature. Bug: 192556680 Test: run simpleperf_unit_test Change-Id: I735959360bca7b1a5cbf8dfb405688032976c34d