[all-commits] [llvm/llvm-project] 2f62c7: [PowerPC] Fix build error in PPCAsmPrinter.cpp (NFC)

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Thu Sep 7 16:29:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f62c788620c36a36b71c91c0c8228ad9b394588
      https://github.com/llvm/llvm-project/commit/2f62c788620c36a36b71c91c0c8228ad9b394588
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-09-08 (Fri, 08 Sep 2023)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp

  Log Message:
  -----------
  [PowerPC] Fix build error in PPCAsmPrinter.cpp (NFC)

/Users/jiefu/llvm-project/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:2753:34: error: cannot initialize a parameter of type 'int64_t' (aka 'long long') with an rvalue of type 'thread::id' (aka '_opaque_pthread_t *')
              "_" + llvm::itostr(llvm::this_thread::get_id()) + "_" +
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/jiefu/llvm-project/llvm/include/llvm/ADT/StringExtras.h:315:35: note: passing argument to parameter 'X' here
inline std::string itostr(int64_t X) {
                                  ^
1 error generated.




More information about the All-commits mailing list