[llvm] [SystemZ][z/OS] TXT records in the GOFF reader (PR #74526)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 01:20:34 PST 2023


================
@@ -38,7 +41,8 @@ class GOFFObjectFile : public ObjectFile {
   // (EDID, 0)               code, r/o data section
   // (EDID,PRID)             r/w data section
   SmallVector<SectionEntryImpl, 256> SectionList;
-  mutable DenseMap<uint32_t, std::string> SectionDataCache;
+  mutable DenseMap<uint32_t, std::pair<size_t, std::unique_ptr<uint8_t[]>>>
----------------
jh7370 wrote:

That `std::pair` looks like a `std::vector` to me.

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


More information about the llvm-commits mailing list