github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

The build failed before running any tests. Click on a failure below to see the 
details.

<details>
<summary>lib/Transforms/Instrumentation/CMakeFiles/LLVMInstrumentation.dir/InstrProfiling.cpp.o</summary>

```
FAILED: 
lib/Transforms/Instrumentation/CMakeFiles/LLVMInstrumentation.dir/InstrProfiling.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS 
-D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/Transforms/Instrumentation
 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Instrumentation
 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt 
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror 
-Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough 
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion 
-Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported 
-fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 
-UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT 
lib/Transforms/Instrumentation/CMakeFiles/LLVMInstrumentation.dir/InstrProfiling.cpp.o
 -MF 
lib/Transforms/Instrumentation/CMakeFiles/LLVMInstrumentation.dir/InstrProfiling.cpp.o.d
 -o 
lib/Transforms/Instrumentation/CMakeFiles/LLVMInstrumentation.dir/InstrProfiling.cpp.o
 -c 
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp:334:19:
 error: private field 'ContiguousData' is not used 
[-Werror,-Wunused-private-field]
334 |   GlobalVariable *ContiguousData =
|                   ^
1 error generated.
```
</details>
<details>
<summary>lib/ProfileData/CMakeFiles/LLVMProfileData.dir/InstrProfCorrelator.cpp.o</summary>

```
FAILED: lib/ProfileData/CMakeFiles/LLVMProfileData.dir/InstrProfCorrelator.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS 
-D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/ProfileData
 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/ProfileData 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt 
-fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror 
-Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough 
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion 
-Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported 
-fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 
-UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT 
lib/ProfileData/CMakeFiles/LLVMProfileData.dir/InstrProfCorrelator.cpp.o -MF 
lib/ProfileData/CMakeFiles/LLVMProfileData.dir/InstrProfCorrelator.cpp.o.d -o 
lib/ProfileData/CMakeFiles/LLVMProfileData.dir/InstrProfCorrelator.cpp.o -c 
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/ProfileData/InstrProfCorrelator.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/ProfileData/InstrProfCorrelator.cpp:302:26:
 error: non-constant-expression cannot be narrowed from type 'unsigned int' to 
'uint16_t' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
302 |       /*NumBitmapBytes=*/maybeSwap<uint32_t>(0),
|                          ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/ProfileData/InstrProfCorrelator.cpp:436:13:
 note: in instantiation of member function 
'llvm::InstrProfCorrelatorImpl<unsigned long>::addDataProbe' requested here
436 |       this->addDataProbe(IndexedInstrProf::ComputeHash(*FunctionName), 
*CFGHash,
|             ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfCorrelator.h:182:3:
 note: in instantiation of member function 
'llvm::DwarfInstrProfCorrelator<unsigned long>::correlateProfileDataImpl' 
requested here
182 |   DwarfInstrProfCorrelator(std::unique_ptr<DWARFContext> DICtx,
|   ^
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:1070:34:
 note: in instantiation of member function 
'llvm::DwarfInstrProfCorrelator<unsigned long>::DwarfInstrProfCorrelator' 
requested here
1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
|                                  ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/ProfileData/InstrProfCorrelator.cpp:214:19:
 note: in instantiation of function template specialization 
'std::make_unique<llvm::DwarfInstrProfCorrelator<unsigned long>, 
std::unique_ptr<llvm::DWARFContext>, 
std::unique_ptr<llvm::InstrProfCorrelator::Context>>' requested here
214 |       return std::make_unique<DwarfInstrProfCorrelator<IntPtrT>>(
|                   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/ProfileData/InstrProfCorrelator.cpp:165:49:
 note: in instantiation of member function 
'llvm::InstrProfCorrelatorImpl<unsigned long>::get' requested here
165 |       return InstrProfCorrelatorImpl<uint64_t>::get(std::move(*CtxOrErr), 
*Obj,
|                                                 ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/ProfileData/InstrProfCorrelator.cpp:302:26:
 note: insert an explicit cast to silence this issue
302 |       /*NumBitmapBytes=*/maybeSwap<uint32_t>(0),
|                          ^~~~~~~~~~~~~~~~~~~~~~
|                          static_cast<uint16_t>()
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/ProfileData/InstrProfCorrelator.cpp:303:3:
 error: missing field 'NumBitmapBytes' initializer 
[-Werror,-Wmissing-field-initializers]
303 |   });
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/ProfileData/InstrProfCorrelator.cpp:302:26:
 error: non-constant-expression cannot be narrowed from type 'unsigned int' to 
'uint16_t' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
302 |       /*NumBitmapBytes=*/maybeSwap<uint32_t>(0),
|                          ^~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/ProfileData/InstrProfCorrelator.cpp:436:13:
 note: in instantiation of member function 
'llvm::InstrProfCorrelatorImpl<unsigned int>::addDataProbe' requested here
436 |       this->addDataProbe(IndexedInstrProf::ComputeHash(*FunctionName), 
*CFGHash,
|             ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfCorrelator.h:182:3:
 note: in instantiation of member function 
'llvm::DwarfInstrProfCorrelator<unsigned int>::correlateProfileDataImpl' 
requested here
182 |   DwarfInstrProfCorrelator(std::unique_ptr<DWARFContext> DICtx,
|   ^
/usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:1070:34:
 note: in instantiation of member function 
'llvm::DwarfInstrProfCorrelator<unsigned int>::DwarfInstrProfCorrelator' 
requested here
1070 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
|                                  ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/ProfileData/InstrProfCorrelator.cpp:214:19:
 note: in instantiation of function template specialization 
'std::make_unique<llvm::DwarfInstrProfCorrelator<unsigned int>, 
std::unique_ptr<llvm::DWARFContext>, 
std::unique_ptr<llvm::InstrProfCorrelator::Context>>' requested here
214 |       return std::make_unique<DwarfInstrProfCorrelator<IntPtrT>>(
|                   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/ProfileData/InstrProfCorrelator.cpp:168:49:
 note: in instantiation of member function 
'llvm::InstrProfCorrelatorImpl<unsigned int>::get' requested here
168 |       return InstrProfCorrelatorImpl<uint32_t>::get(std::move(*CtxOrErr), 
*Obj,
|                                                 ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/ProfileData/InstrProfCorrelator.cpp:302:26:
 note: insert an explicit cast to silence this issue
302 |       /*NumBitmapBytes=*/maybeSwap<uint32_t>(0),
|                          ^~~~~~~~~~~~~~~~~~~~~~
|                          static_cast<uint16_t>()
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/ProfileData/InstrProfCorrelator.cpp:303:3:
 error: missing field 'NumBitmapBytes' initializer 
[-Werror,-Wmissing-field-initializers]
303 |   });
|   ^
4 errors generated.
```
</details>
<details>
<summary>unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/CoverageMappingTest.cpp.o</summary>

```
FAILED: 
unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/CoverageMappingTest.cpp.o
sccache /opt/llvm/bin/clang++ -DLLVM_BUILD_STATIC -D_DEBUG 
-D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/ProfileData
 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData
 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include
 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include
 -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror 
-Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough 
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion 
-Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported 
-fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 
-UNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments 
-fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT 
unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/CoverageMappingTest.cpp.o 
-MF 
unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/CoverageMappingTest.cpp.o.d
 -o 
unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/CoverageMappingTest.cpp.o 
-c 
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:388:17:
 error: no matching member function for call to 'addRecord'
388 |   ProfileWriter.addRecord({"func", 0x1234, {0}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:409:17:
 error: no matching member function for call to 'addRecord'
409 |   ProfileWriter.addRecord({"", 0x1234, {10}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:417:17:
 error: no matching member function for call to 'addRecord'
417 |   ProfileWriter.addRecord({"func1", 0x1234, {10}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:418:17:
 error: no matching member function for call to 'addRecord'
418 |   ProfileWriter.addRecord({"func2", 0x2345, {20}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:446:17:
 error: no matching member function for call to 'addRecord'
446 |   ProfileWriter.addRecord({"func1", 0x1234, {1, 2, 3}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:467:17:
 error: no matching member function for call to 'addRecord'
467 |   ProfileWriter.addRecord({"func1", 0x1234, {1}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:486:17:
 error: no matching member function for call to 'addRecord'
486 |   ProfileWriter.addRecord({"func1", 0x1234, {1, 0}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:547:17:
 error: no matching member function for call to 'addRecord'
547 |   ProfileWriter.addRecord({"func1", 0x1234, {0, 1, 2}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:575:17:
 error: no matching member function for call to 'addRecord'
575 |   ProfileWriter.addRecord({"func1", 0x1234, {1, 1}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:599:17:
 error: no matching member function for call to 'addRecord'
599 |   ProfileWriter.addRecord({"func1", 0x1234, {1}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:625:17:
 error: no matching member function for call to 'addRecord'
625 |   ProfileWriter.addRecord({"func1", 0x1234, {1, 2}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:647:17:
 error: no matching member function for call to 'addRecord'
647 |   ProfileWriter.addRecord({"func1", 0x1234, {2, 1}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:680:17:
 error: no matching member function for call to 'addRecord'
680 |   ProfileWriter.addRecord({"func1", 0x1234, {1, 2, 3, 4}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:722:17:
 error: no matching member function for call to 'addRecord'
722 |   ProfileWriter.addRecord({"func", 0x1234, {30, 20, 10, 0}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:744:17:
 error: no matching member function for call to 'addRecord'
744 |   ProfileWriter.addRecord({"func", 0x1234, {30, 20, 10, 0}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:807:17:
 error: no matching member function for call to 'addRecord'
807 |   ProfileWriter.addRecord({"func", 0x1234, {10, 20, 30}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:825:17:
 error: no matching member function for call to 'addRecord'
825 |   ProfileWriter.addRecord({"func", 0x1234, {10, 20, 40}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:845:17:
 error: no matching member function for call to 'addRecord'
845 |   ProfileWriter.addRecord({"func", 0x1234, {10, 20}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:846:17:
 error: no matching member function for call to 'addRecord'
846 |   ProfileWriter.addRecord({"func", 0x1234, {0, 0}}, Err);
|   ~~~~~~~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
```
</details>
<details>
<summary>unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/InstrProfTest.cpp.o</summary>

```
FAILED: 
unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/InstrProfTest.cpp.o
sccache /opt/llvm/bin/clang++ -DLLVM_BUILD_STATIC -D_DEBUG 
-D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/unittests/ProfileData
 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData
 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/include
 
-I/home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googlemock/include
 -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror 
-Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra 
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers 
-pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough 
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor 
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion 
-Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported 
-fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 
-UNDEBUG -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments 
-fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT 
unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/InstrProfTest.cpp.o -MF 
unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/InstrProfTest.cpp.o.d -o 
unittests/ProfileData/CMakeFiles/ProfileDataTests.dir/InstrProfTest.cpp.o -c 
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:116:10:
 error: no matching member function for call to 'addRecord'
116 |   Writer.addRecord({"foo", 0x1234, {1, 2, 3, 4}}, Err);
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:133:10:
 error: no matching member function for call to 'addRecord'
133 |   Writer.addRecord({"foo", 0x1234, {1, 2}}, Err);
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:134:10:
 error: no matching member function for call to 'addRecord'
134 |   Writer.addRecord({"foo", 0x1235, {3, 4}}, Err);
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:158:10:
 error: no matching member function for call to 'addRecord'
158 |   Writer.addRecord({"foo", 0x1234, {1, 2}}, Err);
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:159:10:
 error: no matching member function for call to 'addRecord'
159 |   Writer.addRecord({"foo", 0x1235, {3, 4}}, Err);
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:185:10:
 error: no matching member function for call to 'addRecord'
185 |   Writer.addRecord({"func1", 0x1234, {97531}}, Err);
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:186:10:
 error: no matching member function for call to 'addRecord'
186 |   Writer.addRecord({"func2", 0x1234, {0, 0}}, Err);
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:187:10:
 error: no matching member function for call to 'addRecord'
187 |   Writer.addRecord(
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:193:10:
 error: no matching member function for call to 'addRecord'
193 |   Writer.addRecord({"func4", 0x1234, {0}}, Err);
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:244:10:
 error: no matching member function for call to 'addRecord'
244 |   Writer.addRecord({"func1", 0x1234, {42}}, Err);
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:247:11:
 error: no matching member function for call to 'addRecord'
247 |   Writer2.addRecord({"func2", 0x1234, {0, 0}}, Err);
|   ~~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:580:10:
 error: no matching member function for call to 'addRecord'
580 |   Writer.addRecord({"func1", 0x1234, {42}}, Err);
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:693:10:
 error: no matching member function for call to 'addRecord'
693 |   Writer.addRecord({getIRPGOFuncName(*InternalFooF), 0x1234, {1}}, Err);
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:694:10:
 error: no matching member function for call to 'addRecord'
694 |   Writer.addRecord({getIRPGOFuncName(*ExternalFooF), 0x5678, {1}}, Err);
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:696:10:
 error: no matching member function for call to 'addRecord'
696 |   Writer.addRecord({getPGOFuncName(*InternalBarF), 0x1111, {2}}, Err);
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:697:10:
 error: no matching member function for call to 'addRecord'
697 |   Writer.addRecord({getPGOFuncName(*ExternalBarF), 0x2222, {2}}, Err);
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:756:24:
 error: no matching constructor for initialization of 'NamedInstrProfRecord'
756 |   NamedInstrProfRecord Record1("caller", 0x1234, {1, 2});
|                        ^       ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProf.h:1095:3:
 note: candidate constructor not viable: requires 4 arguments, but 3 were 
provided
1095 |   NamedInstrProfRecord(StringRef Name, uint64_t Hash,
|   ^                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1096 |                        std::vector<uint64_t> Counts,
|                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1097 |                        uint16_t NumOffloadProfilingThreads)
|                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProf.h:1100:3:
 note: candidate constructor not viable: requires 4 arguments, but 3 were 
provided
1100 |   NamedInstrProfRecord(StringRef Name, uint64_t Hash,
|   ^                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1101 |                        std::vector<uint64_t> Counts,
|                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1102 |                        std::vector<uint8_t> BitmapBytes)
|                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProf.h:1084:8:
 note: candidate constructor (the implicit copy constructor) not viable: 
requires 1 argument, but 3 were provided
1084 | struct NamedInstrProfRecord : InstrProfRecord {
|        ^~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProf.h:1084:8:
 note: candidate constructor (the implicit move constructor) not viable: 
requires 1 argument, but 3 were provided
1084 | struct NamedInstrProfRecord : InstrProfRecord {
|        ^~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProf.h:1105:3:
 note: candidate constructor not viable: requires 5 arguments, but 3 were 
provided
1105 |   NamedInstrProfRecord(StringRef Name, uint64_t Hash,
|   ^                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1106 |                        std::vector<uint64_t> Counts,
|                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1107 |                        std::vector<uint8_t> BitmapBytes,
|                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1108 |                        std::vector<uint8_t> UniformityBits)
|                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProf.h:1094:3:
 note: candidate constructor not viable: requires 0 arguments, but 3 were 
provided
1094 |   NamedInstrProfRecord() = default;
|   ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:788:10:
 error: no matching member function for call to 'addRecord'
788 |   Writer.addRecord({"callee1", 0x1235, {3, 4}}, Err);
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/unittests/ProfileData/InstrProfTest.cpp:789:10:
 error: no matching member function for call to 'addRecord'
789 |   Writer.addRecord({"callee2", 0x1235, {3, 4}}, Err);
|   ~~~~~~~^~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:123:8:
 note: candidate function not viable: cannot convert initializer list argument 
to 'NamedInstrProfRecord'
123 |   void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> 
Warn) {
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:121:17:
 note: candidate function not viable: requires 3 arguments, but 2 were provided
121 |   LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
|                 ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 |                           function_ref<void(Error)> Warn);
|                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ProfileData/InstrProfWriter.h:236:8:
 note: candidate function not viable: requires 5 arguments, but 2 were provided
236 |   void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 |                  uint64_t Weight, function_ref<void(Error)> Warn);
|                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
```
</details>

If these failures are unrelated to your changes (for example tests are broken 
or flaky at HEAD), please open an issue at 
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/177665
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to