<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/55414>55414</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            FreeBSD 13 compilation broken by 0d8cb8b399adcd17e8bf17be7814d030308c8b82
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          VoxSciurorum
      </td>
    </tr>
</table>

<pre>
    Since commit 0d8cb8b399adcd17e8bf17be7814d030308c8b82 on main I can't build on FreeBSD 13 due to the following error (irrelevant local disk path replaced by [...]).  The system compiler is clang 13.0.0 and the system C++ headers are from LLVM of unknown (to me) vintage.

In file included from [...]/llvm-project/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp:8:
In file included from [...]/llvm-project/llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h:12:
In file included from [...]/llvm-project/llvm/include/llvm/ADT/Optional.h:19:
In file included from [...]/llvm-project/llvm/include/llvm/ADT/Hashing.h:51:
In file included from /usr/include/c++/v1/algorithm:653:
In file included from /usr/include/c++/v1/functional:500:
In file included from /usr/include/c++/v1/__functional/function.h:20:
In file included from /usr/include/c++/v1/__memory/shared_ptr.h:22:
/usr/include/c++/v1/__memory/allocator.h:154:28: error: call to implicitly-deleted copy constructor of 'llvm::IntervalMap<unsigned int, unsigned long, 12>'
        ::new ((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
                           ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__memory/allocator_traits.h:290:13: note: in instantiation of function template specialization 'std::allocator<llvm::IntervalMap<unsigned int, unsigned long, 12>>::construct<llvm::IntervalMap<unsigned int, unsigned long, 12>, const llvm::IntervalMap<unsigned int, unsigned long, 12> &>' requested here
        __a.construct(__p, _VSTD::forward<_Args>(__args)...);
            ^
/usr/include/c++/v1/vector:1085:25: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<llvm::IntervalMap<unsigned int, unsigned long, 12>>>::construct<llvm::IntervalMap<unsigned int, unsigned long, 12>, const llvm::IntervalMap<unsigned int, unsigned long, 12> &, void>' requested here
        __alloc_traits::construct(this->__alloc(), _VSTD::__to_address(__pos), __x);
                        ^
/usr/include/c++/v1/vector:1178:9: note: in instantiation of member function 'std::vector<llvm::IntervalMap<unsigned int, unsigned long, 12>>::__construct_at_end' requested here
        __construct_at_end(__n, __x);
        ^
[...]/llvm-project/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp:410:48: note: in instantiation of member function 'std::vector<llvm::IntervalMap<unsigned int, unsigned long, 12>>::vector' requested here
  std::vector<IntervalMap<uint32_t, uint64_t>> Sections(
                                               ^
[...]/llvm-project/llvm/include/llvm/ADT/IntervalMap.h:970:14: note: copy constructor of 'IntervalMap<unsigned int, unsigned long, 12>' is implicitly deleted because variant field 'leaf' has a non-trivial copy constructor
    RootLeaf leaf;
             ^
1 error generated.
--- lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFVerifier.cpp.o ---
*** [lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFVerifier.cpp.o] Error code 1

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzNV9ty4ygQ_Rr5hbJKFyuWHvyQa22qktqqSTbzqELQstgg0AJyJvv120i-ZZJMsnFSNbaMkAynm-ZwoCvNHxc3QjEgTLetcCTiOavyKi0KyhmP55BXdTyvYJ7HMx6l-M1ZXuUJ0Yq0VChySRhVQTJ3pOqF5P79hQE4uTkjcUp4D8Rp4hogtZZSPwi1JGCMNiRIcmEMSFhR5YjUjErChb0nHXUNMdBJyoCT6pEE2UkYhkF2FiRFSMgtgtlH66D1TndCgiHCEiYpYsdpGIURoYoPRtftToPkBC_SAOVgLKEG_TG6JVdXd9dE16RX90o_KO8UutsCWiIroRxdQhhEZ0F0PJaXitRok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