simpleperf: fix tests broken by jit symfile path change.
Simpleperf checks if a path is JIT symfile by looking for a colon
symbol in it. But a normal path on windows can contain colon symbols.
Thus two windows tests are broken. This CL fixs them by adding a function in
JITDebugReader class to check JIT symfile paths.
Also fix python test TestReportLib.test_merge_java_methods. It was broken
by report_lib_interface.cpp dropping support for old jit symfile paths.
This CL added the support back.
Also add a new test TestReportLib.test_jited_java_methods to test new
jit symfile path.
Bug: 167604389
Test: run simpleperf_unit_test.
Test: run test.py.
Change-Id: Ic0f69d224069f708fe20d79d0ce61cf63bd17e5f
7 files changed