[all-commits] [llvm/llvm-project] fb066c: [sancov] fix coverage-report-server cannot display...

Congcong Cai via All-commits all-commits at lists.llvm.org
Sun Mar 19 06:10:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb066c4622c8665612961cc74d2715ff32943272
      https://github.com/llvm/llvm-project/commit/fb066c4622c8665612961cc74d2715ff32943272
  Author: Congcong Cai <congcong.ca.cai at bmw.com>
  Date:   2023-03-19 (Sun, 19 Mar 2023)

  Changed paths:
    M llvm/tools/sancov/coverage-report-server.py

  Log Message:
  -----------
  [sancov] fix coverage-report-server cannot display coverage detail

This patch make following change for coverage-report-server.py
- using uri `./{name}` from root in the old version python http.server can be handled as `//{name}`. But due to https://github.com/python/cpython/pull/93879, it will be handled as `/{name}` now.

So I want to use a prefix to avoid double slashes issue.

Differential Revision: https://reviews.llvm.org/D146010




More information about the All-commits mailing list