Commit a4176f65 authored by Michael Achenbach's avatar Michael Achenbach Committed by Commit Bot

[test] Fix sanitizer-coverage formatter

This broke after https://codereview.chromium.org/2860653002

NOTRY=true
TBR=ochang@chromium.org,jarin@chromium.org

Bug: v8:5502
Change-Id: I062f6601da0b8249d7749275fc415a72e42d0e40
Reviewed-on: https://chromium-review.googlesource.com/549931
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46248}
parent 7dea0f7b
......@@ -78,7 +78,8 @@ EXE_BLACKLIST = [
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(
os.path.abspath(__file__))))
# Executable location. TODO(machenbach): Only release is supported for now.
# Executable location.
# FIXME(machenbach): Pass real builddir to work with developer gn checkouts.
BUILD_DIR = os.path.join(BASE_DIR, 'out', 'Release')
# Path prefix added by the llvm symbolizer including trailing slash.
......@@ -168,7 +169,7 @@ def get_instrumented_lines(executable):
process = subprocess.Popen(
'objdump -d %s | '
'grep \'^\s\+[0-9a-f]\+:.*\scall\(q\|\)\s\+[0-9a-f]\+ '
'<__sanitizer_cov\(_with_check\|\)\(@plt\|\)>\' | '
'<__sanitizer_cov\(_with_check\|\|_trace_pc_guard\)\(@plt\|\)>\' | '
'grep \'^\s\+[0-9a-f]\+\' -o | '
'%s | '
'%s --obj %s -functions=none' %
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment