I am working on a bug that lld emits an error about the invalid relocation range of a branch instruction. I wonder if there is a way to cache the final combined relocatable file when using lto?
I tried stuff such as -Wl,–thinlto-cache-dir=cache and -Wl,-r, but they do not work