IntervalMap has a union with a member of type RootLeaf, and RootLeaf contains an array of std::pair. On FreeBSD 13- std::pair has a non-trivial copy constructor, which causes the implicitly declared copy constructor for IntervalMap to be deleted. As a result, code that attempts to copy construct an IntervalMap fails to compile.
For more information see https://reviews.llvm.org/rG0d8cb8b399ad, and https://reviews.llvm.org/D125611.
This fixes https://github.com/llvm/llvm-project/issues/55414.