[clang] [llvm] [MC,llvm-readobj,yaml2obj] Support CREL relocation format (PR #91280)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Thu May 9 23:36:32 PDT 2024


================
@@ -1142,6 +1193,13 @@ ELFObjectFile<ELFT>::getRela(DataRefImpl Rela) const {
   return *Ret;
 }
 
+template <class ELFT>
----------------
MaskRay wrote:

Changes to this file are for llvm-objdump support. The use patterns ensure that `Crels` will be populated.

I've added the assert to https://github.com/MaskRay/llvm-project/tree/demo-crel 

https://github.com/llvm/llvm-project/pull/91280


More information about the cfe-commits mailing list