This patch is what I needed to compile coreboot with LLVM.