[llvm] [memprof] Add MemProf version (PR #86414)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 29 23:13:56 PDT 2024
dyung wrote:
Hi @kazutakahirata, our internal Windows builder (Visual Studio 2019, Microsoft (R) C/C++ Optimizing Compiler Version 19.28.29924 for x64) hits a compilation error when trying to build your change:
```
C:\j\w\779ddbee\p\llvm\include\llvm/Support/FormatProviders.h(129): error C2872: 'detail': ambiguous symbol
C:\j\w\779ddbee\p\llvm\include\llvm/ADT/Sequence.h(110): note: could be 'llvm::detail'
C:\j\w\779ddbee\p\llvm\include\llvm/Support/Endian.h(197): note: or 'llvm::support::detail'
C:\j\w\779ddbee\p\llvm\include\llvm/Support/FormatVariadicDetails.h(73): note: see reference to class template instantiation 'llvm::format_provider<unsigned __int64,void>' being compiled
C:\j\w\779ddbee\p\llvm\include\llvm/Support/FormatVariadicDetails.h(106): note: see reference to class template instantiation 'llvm::detail::has_FormatProvider<T>' being compiled
with
[
T=const uint64_t &
]
C:\j\w\779ddbee\p\llvm\include\llvm/Support/FormatVariadicDetails.h(124): note: see reference to class template instantiation 'llvm::detail::uses_format_provider<T>' being compiled
with
[
T=const uint64_t &
]
C:\j\w\779ddbee\p\llvm\include\llvm/Support/FormatVariadic.h(252): note: see reference to class template instantiation 'llvm::detail::uses_missing_provider<const uint64_t &>' being compiled
C:\j\w\779ddbee\p\llvm\include\llvm/Support/FormatVariadicDetails.h(156): note: see reference to function template instantiation 'enable_if<llvm::detail::uses_missing_provider<T>::value,llvm::detail::missing_format_adapter<T>>::type llvm::detail::build_format_adapter(T &&)' being compiled
C:\j\w\779ddbee\p\llvm\lib\ProfileData\InstrProfReader.cpp(1255): error C2672: 'llvm::formatv': no matching overloaded function found
C:\j\w\779ddbee\p\llvm\lib\ProfileData\InstrProfReader.cpp(1258): error C2893: Failed to specialize function template 'llvm::formatv_object<unknown-type> llvm::formatv(const char *,Ts &&...)'
C:\j\w\779ddbee\p\llvm\include\llvm/Support/FormatVariadic.h(251): note: see declaration of 'llvm::formatv'
C:\j\w\779ddbee\p\llvm\lib\ProfileData\InstrProfReader.cpp(1258): note: With the following template arguments:
C:\j\w\779ddbee\p\llvm\lib\ProfileData\InstrProfReader.cpp(1258): note: 'Ts={const uint64_t &, const uint64_t &, const uint64_t &}'
```
Can you take a look?
https://github.com/llvm/llvm-project/pull/86414
More information about the llvm-commits
mailing list