[llvm] [Object][COFF][llvm-readobj] Add support for ARM64X dynamic relocations. (PR #97229)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 28 14:12:41 PDT 2024


================
@@ -861,6 +896,8 @@ class COFFObjectFile : public ObjectFile {
   // Either coff_load_configuration32 or coff_load_configuration64.
   const void *LoadConfig = nullptr;
   const chpe_metadata *CHPEMetadata = nullptr;
+  const coff_dynamic_reloc_table *DynamicRelocTable = nullptr;
+  std::shared_ptr<WritableMemoryBuffer> HybridBufferRef;
----------------
mstorsjo wrote:

This seems like a leftover? A `std::shared_ptr` in these classes feels like a very unusual thing (we don't have any occurrances of that before), so that would require a bit of motivation - but it seems to be unused in this patch still?

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


More information about the llvm-commits mailing list