[all-commits] [llvm/llvm-project] 8ea2a5: [llvm-profdata] Make diagnostics consistent with t...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Jun 19 14:54:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ea2a58a2ec6dcfc33ddab8deeb9eb0e69968c6d
      https://github.com/llvm/llvm-project/commit/8ea2a58a2ec6dcfc33ddab8deeb9eb0e69968c6d
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-06-19 (Sat, 19 Jun 2021)

  Changed paths:
    M compiler-rt/test/profile/instrprof-write-buffer-internal.c
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/test/Transforms/PGOProfile/diag_mismatch.ll
    M llvm/test/Transforms/PGOProfile/diag_no_funcprofdata.ll
    M llvm/test/tools/llvm-profdata/count-mismatch.proftext
    M llvm/test/tools/llvm-profdata/invalid-profdata.test
    M llvm/test/tools/llvm-profdata/invalid-profile-gen-zeros.proftext
    M llvm/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test
    M llvm/test/tools/llvm-profdata/overflow-instr.test
    M llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test
    M llvm/test/tools/llvm-profdata/text-dump.test
    M llvm/test/tools/llvm-profdata/text-format-errors.test
    M llvm/test/tools/llvm-profdata/threaded-count-mismatch.test
    M llvm/test/tools/llvm-profdata/weight-instr.test
    M llvm/test/tools/llvm-profdata/weight-sample.test
    M llvm/tools/llvm-profdata/llvm-profdata.cpp

  Log Message:
  -----------
  [llvm-profdata] Make diagnostics consistent with the (no capitalization, no period) style

The format is currently inconsistent. Use the https://llvm.org/docs/CodingStandards.html#error-and-warning-messages style.

And add `error:` or `warning:` to CHECK lines wherever appropriate.




More information about the All-commits mailing list