[PATCH] D137217: [LTO][COFF] Use bitcode file names in lto native object file names.

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 22 16:49:44 PST 2022


MaskRay added a comment.

In D137217#3945366 <https://reviews.llvm.org/D137217#3945366>, @glandium wrote:

> Almost there, but not quite:
>
>   [task 2022-11-22T23:55:36.341Z] /builds/worker/fetches/llvm-project/llvm/tools/gold/gold-plugin.cpp:1106:6: error: no matching function for call to object of type '(lambda at /builds/worker/fetches/llvm-project/llvm/tools/gold/gold-plugin.cpp:1095:7)'
>   [task 2022-11-22T23:55:36.341Z]     *AddStream(Task)->OS << MB->getBuffer();
>   [task 2022-11-22T23:55:36.341Z]      ^~~~~~~~~
>   [task 2022-11-22T23:55:36.341Z] /builds/worker/fetches/llvm-project/llvm/tools/gold/gold-plugin.cpp:1095:7: note: candidate function not viable: requires 2 arguments, but 1 was provided
>   [task 2022-11-22T23:55:36.341Z]       [&](size_t Task,
>   [task 2022-11-22T23:55:36.341Z]       ^
>   [task 2022-11-22T23:55:36.341Z] 1 error generated.

`ninja LLVMgold.so` works for me now. I think @zequanwu fixed this in 10a43c4641c20e0a50edc0ff99915c837a507cc1 <https://reviews.llvm.org/rG10a43c4641c20e0a50edc0ff99915c837a507cc1>/5d140dc2c0f3068fae7127b85df861c420848078 <https://reviews.llvm.org/rG5d140dc2c0f3068fae7127b85df861c420848078>/d23b63ceccfe526c3a9b17d35032b3666e6816a1 <https://reviews.llvm.org/rGd23b63ceccfe526c3a9b17d35032b3666e6816a1>


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137217/new/

https://reviews.llvm.org/D137217



More information about the cfe-commits mailing list