)]}'
{
  "commit": "5d7f52bb372b8bb942971d9c1609de54a38e419f",
  "tree": "a91e6d295d8139fd6fd58fe0cbffa54a53bbbf62",
  "parents": [
    "ce260b821615401ea9d8fab2eda1427d33945deb"
  ],
  "author": {
    "name": "Martin Storsjö",
    "email": "martin@martin.st",
    "time": "Fri Nov 29 13:28:25 2019 +0200"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Tue Sep 08 17:36:10 2020 -0700"
  },
  "message": "[LLDB] Set the right address size on output DataExtractors from ObjectFile\n\nIf filling in a DataExtractor from an ObjectFile, e.g. via the\nReadSectionData method, the output DataExtractor gets the address\nsize from the m_data member.\n\nObjectFile\u0027s m_data member is initialized without knowledge about\nthe address size (so the address size is set based on the host\u0027s\nsizeof(void*), and at that point within ObjectFile\u0027s constructor,\nvirtual methods implemented in subclasses (like GetAddressByteSize())\ncan\u0027t be called, therefore fix it up when filling in external\nDataExtractors.\n\nThis makes sure that line tables from executables with a different\naddress size are parsed properly; previously this tripped up\nDWARFDebugLine::LineTable::parse for 32 bit executables on a 64 bit\nhost, as the address size in the line table (4) didn\u0027t match the\none set in the DWARFDataExtractor.\n\nDifferential Revision: https://reviews.llvm.org/D70848\n\nGitOrigin-RevId: 7d019d1a3be252a885e8db1ee7af11c90b450d38\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4f6d74bbc7579b9c98f6909ce99b9e7697db5a13",
      "old_mode": 33188,
      "old_path": "source/Symbol/ObjectFile.cpp",
      "new_id": "812c6de4da52b825d13664fb5cbfcc553e1a22d2",
      "new_mode": 33188,
      "new_path": "source/Symbol/ObjectFile.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f8c500a39f4aafa71885f4d08f3ce00893e1fb21",
      "new_mode": 33188,
      "new_path": "test/Shell/SymbolFile/DWARF/win-i386-line-table.s"
    }
  ]
}
