[clang] [llvm] [MC,llvm-readobj,yaml2obj] Support CREL relocation format (PR #91280)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue May 28 00:05:23 PDT 2024
================
@@ -392,6 +393,70 @@ ELFFile<ELFT>::decode_relrs(Elf_Relr_Range relrs) const {
return Relocs;
}
+template <class ELFT>
+uint64_t ELFFile<ELFT>::crelHeader(ArrayRef<uint8_t> Content) const {
+ DataExtractor Data(Content, true, 8); // endian/class is irrelevant
----------------
MaskRay wrote:
done
https://github.com/llvm/llvm-project/pull/91280
More information about the llvm-commits
mailing list