diff options
author | Richard Uhler <ruhler@google.com> | 2018-06-04 15:44:17 +0100 |
---|---|---|
committer | Richard Uhler <ruhler@google.com> | 2018-06-04 15:47:23 +0100 |
commit | 75c6fcac1e31ffc7fa59fdea1ddf04c4e7e870d1 (patch) | |
tree | e7a1335e6c3ba0cf0550774e2d1e599500a956c8 /compiler/dex/inline_method_analyser.cc | |
parent | 9ddef18ae95859a985e7a0de7e22999fcbc28e07 (diff) |
Ignore comment lines in proguard mapping.
Comment lines are now being generated by R8 in the proguard mapping.
Update the proguard mapping parser to handle those. Fixes the ahat test
failure:
1) diffMatchedHeap(com.android.ahat.DiffTest)
java.io.IOException: Unable to load proguard map
at com.android.ahat.TestDump.load(TestDump.java:116)
at com.android.ahat.TestDump.getTestDump(TestDump.java:269)
at com.android.ahat.TestDump.getTestDump(TestDump.java:241)
at com.android.ahat.DiffTest.diffMatchedHeap(DiffTest.java:32)
...
Caused by: java.text.ParseException: Error parsing class line: '# compiler: R8'
at com.android.ahat.proguard.ProguardMap.parseException(ProguardMap.java:142)
at com.android.ahat.proguard.ProguardMap.readFromReader(ProguardMap.java:191)
at com.android.ahat.TestDump.load(TestDump.java:114)
... 33 more
Change-Id: I70c9deb414086f454a1f3fefd3bace5b78953b44
Test: m ahat-test
Diffstat (limited to 'compiler/dex/inline_method_analyser.cc')
0 files changed, 0 insertions, 0 deletions