[all-commits] [llvm/llvm-project] 427ba2: [llvm-cov] Assume repeat architectures for univers...

Keith Smiley via All-commits all-commits at lists.llvm.org
Wed Jun 8 13:23:39 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 427ba2bcce1ccdc8a267bb55e92772985b316e76
      https://github.com/llvm/llvm-project/commit/427ba2bcce1ccdc8a267bb55e92772985b316e76
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2022-06-08 (Wed, 08 Jun 2022)

  Changed paths:
    M llvm/test/tools/llvm-cov/universal-binary.c
    M llvm/tools/llvm-cov/CodeCoverage.cpp

  Log Message:
  -----------
  [llvm-cov] Assume repeat architectures for universal binaries

In the case you pass multiple universal binaries to llvm-cov, assume
that if only 1 architecture is passed, it should be used for all the
passed binaries.

This makes it easier to use multiple multi-arch binaries, since it's
likely very rare that your architectures mismatch significantly if you
also have multiple binaries in a single llvm-cov invocation. If the
architecture is invalid for any of the passed binaries, it will still
fail later.

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




More information about the All-commits mailing list