<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - lld-link fails to link pgo-instrumented clang with "error: relocation against symbol in discarded section: __profd_...""
   href="https://bugs.llvm.org/show_bug.cgi?id=42370">42370</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>lld-link fails to link pgo-instrumented clang with "error: relocation against symbol in discarded section: __profd_..."
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hans@chromium.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, rnk@google.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>To repro: (I used the monorepo at bb6d0b8e7b0d815710a71b8012438a586e986450 /
r364169)

build.foo>set CC=\src\llvm.monorepo\build.release\bin\clang-cl.exe
build.foo>set CXX=\src\llvm.monorepo\build.release\bin\clang-cl.exe
build.foo>cmake -GNinja
-DCMAKE_LINKER=/src/llvm.monorepo/build.release/bin/lld-link
-DCMAKE_BUILD_TYPE=Release -DLLVM_BUILD_INSTRUMENTED=IR
-DLLVM_ENABLE_PROJECTS=clang ../llvm

build.foo>ninja bin\Remarks.dll

FAILED: bin/Remarks.dll lib/Remarks.lib
cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_dll
--intdir=tools\remarks-shlib\CMakeFiles\Remarks.dir --manifests  --
\src\llvm.monorepo\build.release\bin\lld-link /nologo
tools\remarks-shlib\CMakeFiles\Remarks.dir\libremarks.cpp.obj
tools\remarks-shlib\CMakeFiles\Remarks.dir\__\__\resources\windows_version_resource.rc.res
 /out:bin\Remarks.dll /implib:lib\Remarks.lib /pdb:bin\Remarks.pdb /dll
/version:0.0 /machine:x64
-fprofile-generate='C:\src\llvm.monorepo\build.foo\profiles' /INCREMENTAL:NO 
/DEF:"C:/src/llvm.monorepo/build.foo/tools/remarks-shlib/Remarks.def" 
lib\LLVMRemarks.lib lib\LLVMSupport.lib psapi.lib shell32.lib ole32.lib
uuid.lib advapi32.lib delayimp.lib -delayload:shell32.dll -delayload:ole32.dll
lib\LLVMDemangle.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib  && cd ."
LINK: command "\src\llvm.monorepo\build.release\bin\lld-link /nologo
tools\remarks-shlib\CMakeFiles\Remarks.dir\libremarks.cpp.obj
tools\remarks-shlib\CMakeFiles\Remarks.dir\__\__\resources\windows_version_resource.rc.res
/out:bin\Remarks.dll /implib:lib\Remarks.lib /pdb:bin\Remarks.pdb /dll
/version:0.0 /machine:x64
-fprofile-generate='C:\src\llvm.monorepo\build.foo\profiles' /INCREMENTAL:NO
/DEF:C:/src/llvm.monorepo/build.foo/tools/remarks-shlib/Remarks.def
lib\LLVMRemarks.lib lib\LLVMSupport.lib psapi.lib shell32.lib ole32.lib
uuid.lib advapi32.lib delayimp.lib -delayload:shell32.dll -delayload:ole32.dll
lib\LLVMDemangle.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST
/MANIFESTFILE:bin\Remarks.dll.manifest" failed (exit code 1) with the following
output:
lld-link: warning: ignoring unknown argument
'-fprofile-generate='C:\src\llvm.monorepo\build.foo\profiles''
lld-link: error: relocation against symbol in discarded section:
__profd_?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAAAEAV12@<a href="mailto:QEBD_K@Z.40465189888">QEBD_K@Z.40465189888</a>
<span class="quote">>>> referenced by LLVMSupport.lib(Triple.cpp.obj):(public: static class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl llvm::Triple::normalize(class llvm::StringRef))</span >

lld-link: error: relocation against symbol in discarded section:
__profd_??$append@PEADX@?$SmallVectorImpl@D@llvm@@<a href="mailto:QEAAXPEAD0@Z.37713126052">QEAAXPEAD0@Z.37713126052</a>
<span class="quote">>>> referenced by LLVMSupport.lib(APInt.cpp.obj):(public: void __cdecl llvm::APInt::toString(class llvm::SmallVectorImpl<char> &, unsigned int, bool, bool) const)</span >

lld-link: error: relocation against symbol in discarded section:
__profd_?assign@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAAAEAV12@<a href="mailto:QEBD@Z.40465189888">QEBD@Z.40465189888</a>
<span class="quote">>>> referenced by LLVMSupport.lib(Debug.cpp.obj):(void __cdecl llvm::setCurrentDebugTypes(char const **, unsigned int))</span >

lld-link: error: relocation against symbol in discarded section:
__profd_??$append@PEBDX@?$SmallVectorImpl@D@llvm@@<a href="mailto:QEAAXPEBD0@Z.37713126052">QEAAXPEBD0@Z.37713126052</a>
<span class="quote">>>> referenced by LLVMSupport.lib(Path.cpp.obj):(void __cdecl llvm::sys::path::append(class llvm::SmallVectorImpl<char> &, enum llvm::sys::path::Style, class llvm::Twine const &, class llvm::Twine const &, class llvm::Twine const &, class llvm::Twine const &))
>>> referenced by LLVMSupport.lib(Path.cpp.obj):(void __cdecl llvm::sys::path::append(class llvm::SmallVectorImpl<char> &, enum llvm::sys::path::Style, class llvm::Twine const &, class llvm::Twine const &, class llvm::Twine const &, class llvm::Twine const &))
>>> referenced by LLVMSupport.lib(Path.cpp.obj):(void __cdecl llvm::sys::path::replace_extension(class llvm::SmallVectorImpl<char> &, class llvm::Twine const &, enum llvm::sys::path::Style))
>>> referenced by LLVMSupport.lib(Path.cpp.obj):(bool __cdecl llvm::sys::path::remove_dots(class llvm::SmallVectorImpl<char> &, bool, enum llvm::sys::path::Style))
>>> referenced by LLVMSupport.lib(Path.cpp.obj):(void __cdecl llvm::sys::fs::make_absolute(class llvm::Twine const &, class llvm::SmallVectorImpl<char> &))
>>> referenced by LLVMSupport.lib(Path.cpp.obj):(public: void __cdecl llvm::sys::fs::directory_entry::replace_filename(class llvm::Twine const &, enum llvm::sys::fs::file_type, class llvm::sys::fs::basic_file_status))
>>> referenced by LLVMSupport.lib(Path.cpp.obj):(class std::error_code __cdecl llvm::sys::path::widenPath(class llvm::Twine const &, class llvm::SmallVectorImpl<wchar_t> &))
>>> referenced by LLVMSupport.lib(Path.cpp.obj):(class std::error_code __cdecl llvm::sys::path::widenPath(class llvm::Twine const &, class llvm::SmallVectorImpl<wchar_t> &))
>>> referenced by LLVMSupport.lib(Path.cpp.obj):(class std::error_code __cdecl llvm::sys::fs::detail::directory_iterator_construct(struct llvm::sys::fs::detail::DirIterState &, class llvm::StringRef, bool))</span >

lld-link: error: relocation against symbol in discarded section:
__profd_?assign@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAAAEAV12@<a href="mailto:QEBD@Z.40465189888">QEBD@Z.40465189888</a>
<span class="quote">>>> referenced by LLVMSupport.lib(raw_ostream.cpp.obj):(public: virtual class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl std::_System_error_category::message(int) const)</span >

lld-link: error: relocation against symbol in discarded section:
__profd_??$append@PEBDX@?$SmallVectorImpl@D@llvm@@<a href="mailto:QEAAXPEBD0@Z.37713126052">QEAAXPEBD0@Z.37713126052</a>
<span class="quote">>>> referenced by LLVMSupport.lib(YAMLParser.cpp.obj):(private: bool __cdecl llvm::yaml::Scanner::scanBlockScalar(bool))
>>> referenced by LLVMSupport.lib(YAMLParser.cpp.obj):(public: char * __cdecl llvm::SmallVectorImpl<char>::insert<char const *, void>(char *, char const *, char const *))</span >

lld-link: error: relocation against symbol in discarded section:
__profd_??$append@PEBDX@?$SmallVectorImpl@D@llvm@@<a href="mailto:QEAAXPEBD0@Z.37713126052">QEAAXPEBD0@Z.37713126052</a>
<span class="quote">>>> referenced by LLVMSupport.lib(Triple.cpp.obj):(public: void __cdecl llvm::Triple::setArchName(class llvm::StringRef))
>>> referenced by LLVMSupport.lib(Triple.cpp.obj):(public: void __cdecl llvm::Triple::setArchName(class llvm::StringRef))
>>> referenced by LLVMSupport.lib(Triple.cpp.obj):(public: void __cdecl llvm::Triple::setArchName(class llvm::StringRef))
>>> referenced by LLVMSupport.lib(Triple.cpp.obj):(public: void __cdecl llvm::Triple::setArchName(class llvm::StringRef))
>>> referenced by LLVMSupport.lib(Triple.cpp.obj):(public: void __cdecl llvm::Triple::setArchName(class llvm::StringRef))</span >

lld-link: error: relocation against symbol in discarded section:
__profd_??6raw_ostream@llvm@@QEAAAEAV01@<a href="mailto:PEBD@Z.49377690693">PEBD@Z.49377690693</a>
<span class="quote">>>> referenced by LLVMSupport.lib(StringExtras.cpp.obj):(void __cdecl llvm::printHTMLEscaped(class llvm::StringRef, class llvm::raw_ostream &))
>>> referenced by LLVMSupport.lib(StringExtras.cpp.obj):(void __cdecl llvm::printHTMLEscaped(class llvm::StringRef, class llvm::raw_ostream &))
>>> referenced by LLVMSupport.lib(StringExtras.cpp.obj):(void __cdecl llvm::printHTMLEscaped(class llvm::StringRef, class llvm::raw_ostream &))
>>> referenced by LLVMSupport.lib(StringExtras.cpp.obj):(void __cdecl llvm::printHTMLEscaped(class llvm::StringRef, class llvm::raw_ostream &))
>>> referenced by LLVMSupport.lib(StringExtras.cpp.obj):(void __cdecl llvm::printHTMLEscaped(class llvm::StringRef, class llvm::raw_ostream &))</span >

lld-link: error: relocation against symbol in discarded section:
__profd_?assign@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAAAEAV12@<a href="mailto:QEBD@Z.40465189888">QEBD@Z.40465189888</a>
<span class="quote">>>> referenced by LLVMSupport.lib(YAMLParser.cpp.obj):(public: class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl llvm::yaml::Node::getVerbatimTag(void) const)</span >

lld-link: error: relocation against symbol in discarded section:
__profd_?append@?$SmallVectorImpl@D@llvm@@<a href="mailto:QEAAX_KAEBD@Z.37713126052">QEAAX_KAEBD@Z.37713126052</a>
<span class="quote">>>> referenced by LLVMSupport.lib(CommandLine.cpp.obj):(unsigned __int64 __cdecl parseBackslash(class llvm::StringRef, unsigned __int64, class llvm::SmallString<128> &))
>>> referenced by LLVMSupport.lib(CommandLine.cpp.obj):(unsigned __int64 __cdecl parseBackslash(class llvm::StringRef, unsigned __int64, class llvm::SmallString<128> &))</span >

lld-link: error: relocation against symbol in discarded section:
__profd_??6raw_ostream@llvm@@QEAAAEAV01@<a href="mailto:PEBD@Z.49377690693">PEBD@Z.49377690693</a>
<span class="quote">>>> referenced by LLVMSupport.lib(StringExtras.cpp.obj):(void __cdecl llvm::printHTMLEscaped(class llvm::StringRef, class llvm::raw_ostream &))
>>> referenced by LLVMSupport.lib(StringExtras.cpp.obj):(void __cdecl llvm::printHTMLEscaped(class llvm::StringRef, class llvm::raw_ostream &))
>>> referenced by LLVMSupport.lib(StringExtras.cpp.obj):(void __cdecl llvm::printHTMLEscaped(class llvm::StringRef, class llvm::raw_ostream &))
>>> referenced by LLVMSupport.lib(StringExtras.cpp.obj):(void __cdecl llvm::printHTMLEscaped(class llvm::StringRef, class llvm::raw_ostream &))
>>> referenced by LLVMSupport.lib(StringExtras.cpp.obj):(void __cdecl llvm::printHTMLEscaped(class llvm::StringRef, class llvm::raw_ostream &))</span >

lld-link: error: relocation against symbol in discarded section:
__profd_??6raw_ostream@llvm@@QEAAAEAV01@<a href="mailto:PEBD@Z.49377690693">PEBD@Z.49377690693</a>
<span class="quote">>>> referenced by LLVMSupport.lib(NativeFormatting.cpp.obj):(void __cdecl llvm::write_double(class llvm::raw_ostream &, double, enum llvm::FloatStyle, class llvm::Optional<unsigned __int64>))
>>> referenced by LLVMSupport.lib(NativeFormatting.cpp.obj):(void __cdecl llvm::write_double(class llvm::raw_ostream &, double, enum llvm::FloatStyle, class llvm::Optional<unsigned __int64>))
>>> referenced by LLVMSupport.lib(NativeFormatting.cpp.obj):(void __cdecl llvm::write_double(class llvm::raw_ostream &, double, enum llvm::FloatStyle, class llvm::Optional<unsigned __int64>))
>>> referenced by LLVMSupport.lib(NativeFormatting.cpp.obj):(void __cdecl llvm::write_double(class llvm::raw_ostream &, double, enum llvm::FloatStyle, class llvm::Optional<unsigned __int64>))
>>> referenced by LLVMSupport.lib(NativeFormatting.cpp.obj):(void __cdecl llvm::write_double(class llvm::raw_ostream &, double, enum llvm::FloatStyle, class llvm::Optional<unsigned __int64>))
>>> referenced by LLVMSupport.lib(NativeFormatting.cpp.obj):(void __cdecl llvm::write_double(class llvm::raw_ostream &, double, enum llvm::FloatStyle, class llvm::Optional<unsigned __int64>))</span >

lld-link: error: relocation against symbol in discarded section:
__profd_?append@?$SmallVectorImpl@D@llvm@@<a href="mailto:QEAAX_KAEBD@Z.37713126052">QEAAX_KAEBD@Z.37713126052</a>
<span class="quote">>>> referenced by LLVMSupport.lib(CommandLine.cpp.obj):(unsigned __int64 __cdecl parseBackslash(class llvm::StringRef, unsigned __int64, class llvm::SmallString<128> &))
>>> referenced by LLVMSupport.lib(CommandLine.cpp.obj):(unsigned __int64 __cdecl parseBackslash(class llvm::StringRef, unsigned __int64, class llvm::SmallString<128> &))</span >

lld-link: error: relocation against symbol in discarded section:
__profd_??6raw_ostream@llvm@@QEAAAEAV01@<a href="mailto:PEBD@Z.49377690693">PEBD@Z.49377690693</a>
<span class="quote">>>> referenced by LLVMSupport.lib(APFloat.cpp.obj):(public: void __cdecl llvm::APFloat::print(class llvm::raw_ostream &) const)</span >

lld-link: error: relocation against symbol in discarded section:
__profd_??6raw_ostream@llvm@@QEAAAEAV01@<a href="mailto:PEBD@Z.49377690693">PEBD@Z.49377690693</a>
<span class="quote">>>> referenced by LLVMSupport.lib(NativeFormatting.cpp.obj):(void __cdecl llvm::write_double(class llvm::raw_ostream &, double, enum llvm::FloatStyle, class llvm::Optional<unsigned __int64>))
>>> referenced by LLVMSupport.lib(NativeFormatting.cpp.obj):(void __cdecl llvm::write_double(class llvm::raw_ostream &, double, enum llvm::FloatStyle, class llvm::Optional<unsigned __int64>))
>>> referenced by LLVMSupport.lib(NativeFormatting.cpp.obj):(void __cdecl llvm::write_double(class llvm::raw_ostream &, double, enum llvm::FloatStyle, class llvm::Optional<unsigned __int64>))
>>> referenced by LLVMSupport.lib(NativeFormatting.cpp.obj):(void __cdecl llvm::write_double(class llvm::raw_ostream &, double, enum llvm::FloatStyle, class llvm::Optional<unsigned __int64>))
>>> referenced by LLVMSupport.lib(NativeFormatting.cpp.obj):(void __cdecl llvm::write_double(class llvm::raw_ostream &, double, enum llvm::FloatStyle, class llvm::Optional<unsigned __int64>))
>>> referenced by LLVMSupport.lib(NativeFormatting.cpp.obj):(void __cdecl llvm::write_double(class llvm::raw_ostream &, double, enum llvm::FloatStyle, class llvm::Optional<unsigned __int64>))</span >

lld-link: error: relocation against symbol in discarded section:
__profd_??$append@PEBDX@?$SmallVectorImpl@D@llvm@@<a href="mailto:QEAAXPEBD0@Z.37713126052">QEAAXPEBD0@Z.37713126052</a>
<span class="quote">>>> referenced by LLVMSupport.lib(Path.cpp.obj):(void __cdecl llvm::sys::path::append(class llvm::SmallVectorImpl<char> &, enum llvm::sys::path::Style, class llvm::Twine const &, class llvm::Twine const &, class llvm::Twine const &, class llvm::Twine const &))
>>> referenced by LLVMSupport.lib(Path.cpp.obj):(void __cdecl llvm::sys::path::append(class llvm::SmallVectorImpl<char> &, enum llvm::sys::path::Style, class llvm::Twine const &, class llvm::Twine const &, class llvm::Twine const &, class llvm::Twine const &))
>>> referenced by LLVMSupport.lib(Path.cpp.obj):(void __cdecl llvm::sys::path::replace_extension(class llvm::SmallVectorImpl<char> &, class llvm::Twine const &, enum llvm::sys::path::Style))
>>> referenced by LLVMSupport.lib(Path.cpp.obj):(bool __cdecl llvm::sys::path::remove_dots(class llvm::SmallVectorImpl<char> &, bool, enum llvm::sys::path::Style))
>>> referenced by LLVMSupport.lib(Path.cpp.obj):(void __cdecl llvm::sys::fs::make_absolute(class llvm::Twine const &, class llvm::SmallVectorImpl<char> &))
>>> referenced by LLVMSupport.lib(Path.cpp.obj):(public: void __cdecl llvm::sys::fs::directory_entry::replace_filename(class llvm::Twine const &, enum llvm::sys::fs::file_type, class llvm::sys::fs::basic_file_status))
>>> referenced by LLVMSupport.lib(Path.cpp.obj):(class std::error_code __cdecl llvm::sys::path::widenPath(class llvm::Twine const &, class llvm::SmallVectorImpl<wchar_t> &))
>>> referenced by LLVMSupport.lib(Path.cpp.obj):(class std::error_code __cdecl llvm::sys::path::widenPath(class llvm::Twine const &, class llvm::SmallVectorImpl<wchar_t> &))
>>> referenced by LLVMSupport.lib(Path.cpp.obj):(class std::error_code __cdecl llvm::sys::fs::detail::directory_iterator_construct(struct llvm::sys::fs::detail::DirIterState &, class llvm::StringRef, bool))</span >

lld-link: error: relocation against symbol in discarded section:
__profd_??4APInt@llvm@@QEAAAEAV01@<a href="mailto:_K@Z.39132274416">_K@Z.39132274416</a>
<span class="quote">>>> referenced by LLVMSupport.lib(APInt.cpp.obj):(public: static void __cdecl llvm::APInt::udivrem(class llvm::APInt const &, class llvm::APInt const &, class llvm::APInt &, class llvm::APInt &))
>>> referenced by LLVMSupport.lib(APInt.cpp.obj):(public: static void __cdecl llvm::APInt::udivrem(class llvm::APInt const &, class llvm::APInt const &, class llvm::APInt &, class llvm::APInt &))
>>> referenced by LLVMSupport.lib(APInt.cpp.obj):(public: static void __cdecl llvm::APInt::udivrem(class llvm::APInt const &, unsigned __int64, class llvm::APInt &, unsigned __int64 &))</span >

lld-link: error: relocation against symbol in discarded section:
__profd_?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAAAEAV12@<a href="mailto:QEBD_K@Z.40465189888">QEBD_K@Z.40465189888</a>
<span class="quote">>>> referenced by LLVMSupport.lib(Error.cpp.obj):(public: virtual void __cdecl llvm::StringError::log(class llvm::raw_ostream &) const)
>>> referenced by LLVMSupport.lib(Error.cpp.obj):(public: virtual void __cdecl llvm::StringError::log(class llvm::raw_ostream &) const)
>>> referenced by LLVMSupport.lib(Error.cpp.obj):(class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl llvm::toString(class llvm::Error))
>>> referenced by LLVMSupport.lib(Error.cpp.obj):(class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl llvm::toString(class llvm::Error))
>>> referenced by LLVMSupport.lib(Error.cpp.obj):(class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __cdecl llvm::toString(class llvm::Error))</span >

lld-link: error: relocation against symbol in discarded section:
__profd_??6raw_ostream@llvm@@QEAAAEAV01@<a href="mailto:PEBD@Z.49377690693">PEBD@Z.49377690693</a>
<span class="quote">>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChild(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(private: void __cdecl llvm::Twine::printOneChildRepr(class llvm::raw_ostream &, union llvm::Twine::Child, enum llvm::Twine::NodeKind) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(public: void __cdecl llvm::Twine::printRepr(class llvm::raw_ostream &) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(public: void __cdecl llvm::Twine::printRepr(class llvm::raw_ostream &) const)
>>> referenced by LLVMSupport.lib(Twine.cpp.obj):(public: void __cdecl llvm::Twine::printRepr(class llvm::raw_ostream &) const)</span >

lld-link: error: relocation against symbol in discarded section:
__profd_??6raw_ostream@llvm@@QEAAAEAV01@<a href="mailto:PEBD@Z.49377690693">PEBD@Z.49377690693</a>
<span class="quote">>>> referenced by LLVMSupport.lib(Error.cpp.obj):(class llvm::Error __cdecl llvm::handleErrorImpl<class `void __cdecl llvm::logAllUnhandledErrors(class llvm::Error, class llvm::raw_ostream &, class llvm::Twine)'::`1'::<lambda_0>>(class std::unique_ptr<class llvm::ErrorInfoBase, struct std::default_delete<class llvm::ErrorInfoBase>>, class `void __cdecl llvm::logAllUnhandledErrors(class llvm::Error, class llvm::raw_ostream &, class llvm::Twine)'::`1'::<lambda_0> &&))</span >

lld-link: error: too many errors emitted, stopping now (use /errorlimit:0 to
see all errors)
ninja: build stopped: subcommand failed.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>