fabianmcg wrote: Yes, we have `llvm/Frontend/Offloading/Utility.h`, I can move it there. However, I didn't add it there because the files have different purposes, one is almost entirely for offload entries and the other ELF utilities. https://github.com/llvm/llvm-project/pull/102487