)]}'
{
  "commit": "c81c6d2e062cc7d4efc527a55b68074a6d12c718",
  "tree": "86def67a43b3ff7f3a68d82b3c0b0f52054db6bc",
  "parents": [
    "f2b55e8ebeea2ff00ab69bfdd69b9c337aa247fc"
  ],
  "author": {
    "name": "Fangrui Song",
    "email": "maskray@google.com",
    "time": "Tue Sep 10 09:16:34 2019 +0000"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon Oct 19 19:41:16 2020 -0700"
  },
  "message": "[yaml2obj] Set p_align to the maximum sh_addralign of contained sections\n\nThe address difference between two sections in a PT_LOAD is a constant.\nConsider a hypothetical case (pagesize can be very small, say, 4).\n\n```\n.text     sh_addralign\u003d4\n.text.hot sh_addralign\u003d16\n```\n\nIf we set p_align to 4, the PT_LOAD will be loaded at an address which\nis a multiple of 4. The address of .text.hot is guaranteed to be a\nmultiple of 4, but not necessarily a multiple of 16.\n\nThis patch deletes the constraint\n\n  if (SHeader-\u003esh_offset \u003d\u003d PHeader.p_offset)\n\nReviewed By: grimar, jhenderson\n\nDifferential Revision: https://reviews.llvm.org/D67260\n\nllvm-svn: 371501\nGitOrigin-RevId: 1da4f47195c2e5e4faaaca265ae2f9d9149b85df\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "531f0d4f1d8e750365ef826928d703548061fb6f",
      "old_mode": 33188,
      "old_path": "lib/ObjectYAML/ELFEmitter.cpp",
      "new_id": "72063a5dafd0d89e0db677d95f742187fb57cd2e",
      "new_mode": 33188,
      "new_path": "lib/ObjectYAML/ELFEmitter.cpp"
    },
    {
      "type": "modify",
      "old_id": "7c307712e4c260a82e71f8a06811f1d7fdfaf653",
      "old_mode": 33188,
      "old_path": "test/tools/yaml2obj/program-header-align.yaml",
      "new_id": "98e81a43caeb1cba3c498655e5d30c1d11681151",
      "new_mode": 33188,
      "new_path": "test/tools/yaml2obj/program-header-align.yaml"
    }
  ]
}
