[all-commits] [llvm/llvm-project] 7fafaa: [llvm-cov] Warn when -arch spec is missing/invalid...

Vedant Kumar via All-commits all-commits at lists.llvm.org
Tue Oct 13 16:46:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fafaa07bcaddd6cad8323940b73c0df98a8f02a
      https://github.com/llvm/llvm-project/commit/7fafaa07bcaddd6cad8323940b73c0df98a8f02a
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2020-10-13 (Tue, 13 Oct 2020)

  Changed paths:
    M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
    M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
    M llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
    M llvm/test/tools/llvm-cov/universal-binary.c

  Log Message:
  -----------
  [llvm-cov] Warn when -arch spec is missing/invalid for universal binary (reland)

llvm-cov reports a poor error message when the -arch specifier is
missing or invalid, and a binary has multiple slices. Make the error
message more specific.

(This version of the patch avoids using llvm::none_of -- the way I used
the utility caused compile errors on many bots, possibly because the
wrong overload of `none_of` was selected.)

rdar://40312677




More information about the All-commits mailing list