)]}'
{
  "commit": "c087da4b18192220debcd41d29de100987d1f324",
  "tree": "948a53d8609d0c10f5393d4cb4cb8e000ab4c09f",
  "parents": [
    "c04b98fbd4a2c70d547e3b9eb03446624b414d31"
  ],
  "author": {
    "name": "GeorgeHuyubo",
    "email": "113479859+GeorgeHuyubo@users.noreply.github.com",
    "time": "Wed Sep 10 15:15:59 2025 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Sep 10 15:15:59 2025 -0700"
  },
  "message": "[lldb][ElfCore] Improve main executable detection in core files (#157170)\n\nThis change improves how LLDB\u0027s ProcessElfCore plugin identifies the\nmain executable when loading ELF core files. Previously, the code would\nsimply use the first entry in the NT_FILE section, which is not\nguaranteed to be the main executable, also the first entry might not\nhave a valid UUID.\n\n1. **Storing executable name**: Extract the executable name from the ELF\nNT_PRPSINFO note and store it in `m_executable_name`\n\n2. **Preferential matching**: When selecting the main executable from\nNT_FILE entries, prefer entries whose path ends with the stored\nexecutable name\n\n3. **UUID-based lookup**: Call `FindModuleUUID()` helper function to\nproperly match modules by path and retrieve a valid UUID\n\nCo-authored-by: George Hu \u003chyubo@meta.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "88eeddf17878860423de2233360007b1ed629abc",
      "old_mode": 33188,
      "old_path": "lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp",
      "new_id": "8f5f1242116f5d21422a73f4b820abb54c5936f6",
      "new_mode": 33188,
      "new_path": "lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp"
    },
    {
      "type": "modify",
      "old_id": "a91c04a277f601b6a341e171d62a775327ea20ec",
      "old_mode": 33188,
      "old_path": "lldb/source/Plugins/Process/elf-core/ProcessElfCore.h",
      "new_id": "576c6858477a6af30883a5003aaf2f92fe60be8f",
      "new_mode": 33188,
      "new_path": "lldb/source/Plugins/Process/elf-core/ProcessElfCore.h"
    }
  ]
}
