[all-commits] [llvm/llvm-project] 4f277f: [BOLT] Check if LLVM_REVISION is defined

Amir Ayupov via All-commits all-commits at lists.llvm.org
Fri Apr 15 06:33:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f277f28ab88bb96c8da1da96dda11bab17a3da7
      https://github.com/llvm/llvm-project/commit/4f277f28ab88bb96c8da1da96dda11bab17a3da7
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2022-04-15 (Fri, 15 Apr 2022)

  Changed paths:
    M bolt/lib/Utils/CommandLineOpts.cpp

  Log Message:
  -----------
  [BOLT] Check if LLVM_REVISION is defined

Handle the case where LLVM_REVISION is undefined (due to LLVM_APPEND_VC_REV=OFF
or otherwise) by setting "<unknown>" value as before D123549.

Reviewed By: yota9

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




More information about the All-commits mailing list