[all-commits] [llvm/llvm-project] 652190: [llvm-profdata] Accept --version argument

Michael Platings via All-commits all-commits at lists.llvm.org
Mon May 22 06:45:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65219053892d6f96ca7c0ddf1dd88d3c97b573c4
      https://github.com/llvm/llvm-project/commit/65219053892d6f96ca7c0ddf1dd88d3c97b573c4
  Author: Michael Platings <michael.platings at arm.com>
  Date:   2023-05-22 (Mon, 22 May 2023)

  Changed paths:
    A llvm/test/tools/llvm-profdata/version.test
    M llvm/tools/llvm-profdata/llvm-profdata.cpp

  Log Message:
  -----------
  [llvm-profdata] Accept --version argument

The `llvm-profdata --version` output now looks like:

  llvm-profdata
  LLVM (http://llvm.org/):
    LLVM version 17.0.0git
    Optimized build with assertions.

This makes llvm-profdata more consistent with other tools.

Reviewed By: simon_tatham

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




More information about the All-commits mailing list