)]}'
{
  "commit": "5ebf4160eb45986434d94de9c8c478caecad665a",
  "tree": "4c0abea9781040a13710eaed6e400075da4c0326",
  "parents": [
    "056df68642e3bf7442aabf8fec579e8e064d8304"
  ],
  "author": {
    "name": "Bruce Dawson",
    "email": "brucedawson@chromium.org",
    "time": "Fri Sep 21 20:17:11 2018"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Fri Sep 21 20:17:11 2018"
  },
  "message": "Avoid COMDAT folding between InvalidParameter and PureCall\n\nWhile investigating crbug.com/882670 I noticed that the CRT __purecall\nfunction was calling the InvalidParameter function instead of the\nPureCall function. That is happening because the two functions have\nidentical implementations and generate identical code and therefore the\nlinker folds the two functions together. This happens despite compiler\noptimizations being disabled.\n\nThis is harmless but causes mild confusion. This CL changes the return\ncode of one of the functions so that the two functions are no longer\nidentical.\n\nThis change was tested by defining these classes, creating a variable of\ntype Derived, and then checking what call stack appears for the crash\nin a release build:\n\nstruct Base {\n  Base() { Middle(); }\n  void Middle() { DerivedFunc(); }\n  virtual void DerivedFunc() \u003d 0;\n};\n\nstruct Derived : public Base {\n  void DerivedFunc() override {}\n};\n\nI manually confirmed that this fix has the desired effect.\n\nChange-Id: I37446600e00a3ee95b009190c471e938ec85e5c0\nReviewed-on: https://chromium-review.googlesource.com/1237539\nCommit-Queue: Bruce Dawson \u003cbrucedawson@chromium.org\u003e\nReviewed-by: Robert Liao \u003crobliao@chromium.org\u003e\nCr-Commit-Position: refs/heads/master@{#593317}",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7a01211368b393b4bc49b363cdf15d3f298b9dd6",
      "old_mode": 33188,
      "old_path": "base/win/process_startup_helper.cc",
      "new_id": "ffcd5cf2e0d99aae3dc8f31700c8114c2ddba275",
      "new_mode": 33188,
      "new_path": "base/win/process_startup_helper.cc"
    }
  ]
}
