• Clemens Backes's avatar
    Add --perf-prof-delete-file flag · 3e8407ce
    Clemens Backes authored
    Tests which set the --perf-prof flag leave behind a file in the current
    working directory every time they execute.
    In order to avoid this, this CL introduces a --perf-prof-delete-file
    flag, which removes this file right after creating it. This still allows
    the process to write to it via the open handle, but the file will be
    gone afterwards, even if the process crashes or gets killed while
    executing.
    
    R=ahaas@chromium.org
    
    Bug: v8:10121
    Change-Id: I99b159bb6d94255f77095ac78d98ba55106e94fc
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2000738Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#65759}
    3e8407ce
perf-jit.cc 18.8 KB