kpn added a comment. I've verified that it fixes the build on FreeBSD 11.1 and the current version of FreeBSD 12. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D125899/new/ https://reviews.llvm.org/D125899