This is triggering the following warning:
In file included from D:\src\llvm\tools\lld\ELF\Relocations.cpp:44: D:\src\llvm\tools\lld\ELF/Relocations.h(101,28): error: comparison of constant 64 with expression of type 'lld::elf::RelExpr' is always true [-Werror,-Wtautological-constant-out-of-range-compare] assert(0 <= Expr && Expr < 64 && "RelExpr is too large for 64-bit mask!"); ~~~~ ^ ~~ C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\ucrt\assert.h(33,17): note: expanded from macro 'assert' (!!(expression)) || \ ^~~~~~~~~~
which kills my -Werror build. Since ubsan should catch cases of values larger than 64 being passed in, it seems like the assert might not be strictly necessary. Either way, we need some way to get rid of this warning.