summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generation_data.cc
diff options
context:
space:
mode:
author Fabien Sanglard <sanglardf@google.com> 2023-06-08 01:00:30 +0000
committer Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-06-13 10:55:31 +0000
commit42266245f036f92d2f2c8900793ea6eea822a29e (patch)
treef4e477ca342d4dd774c85270f0841b4163448604 /compiler/optimizing/code_generation_data.cc
parent0a9a7f4083287df6bbf7794c8db341828e83622f (diff)
Fix logfile path if not absolute
If 'logfile' parameter is not absolute, no log file is written because an app default cwd is '/'. When we can, we fix it by using directory /data/data/packageName. Manual testing: adb root adb shell stop adb shell setprop dalvik.vm.extra-opts "-verbose:jdwp,startup -XjdwpOptions:logfile=fab.log,logflags=0xfff,directlog=y" adb shell start Test: Manual Bug: 286291596 Reland: asop/2618135 I am not convinced asop/2618135 was the real cause of the breakages in Chromium for three reasons: 1/ The error seems unrelated to ART (module "aconfig.test.java) 2/ The previous CL (asop/2619790) had the same errors (See https://ci.chromium.org/ui/p/art/builders/ci/angler-armv8-debug/3558/overview). It was not reverted but the build still came back green. 3/ Even after the rever, I still see the same kind of errors across Chromium tree (https://ci.chromium.org/ui/p/art/builders/ci/angler-armv8-debug/3559/overview). Change-Id: I0968c502a012a8f66f3636a7c8f7f64f107946e7
Diffstat (limited to 'compiler/optimizing/code_generation_data.cc')
0 files changed, 0 insertions, 0 deletions