)]}'
{
  "commit": "2e1aea64649dfb3739a355476ff31a680beb9fc2",
  "tree": "4ee5cd8afbb839376866015dcc493dbb4194e7df",
  "parents": [
    "bef8df8a6041f6bf0c114bb1e080011cf7346c35"
  ],
  "author": {
    "name": "wanglei",
    "email": "wanglei@loongson.cn",
    "time": "Fri Mar 20 10:03:09 2026 +0800"
  },
  "committer": {
    "name": "Douglas Yung",
    "email": "douglas.yung@sony.com",
    "time": "Mon Mar 23 03:10:46 2026 +0000"
  },
  "message": "[LoongArch] Ensure .dwo sections do not contain relocations (#187429)\n\nWhen linker relaxation is enabled, LoongArchAsmBackend may emit\nrelocations for same-section symbol differences, even when the fixup\nis in a .dwo section. This leads to errors such as:\n\n  error: A dwo section may not contain relocations\n\nSplit DWARF (.dwo) sections must not contain relocations. Fix this by\nresolving such fixups immediately when they are emitted into .dwo\nsections, even if the referenced symbols are in relaxable sections.\n\nThis avoids generating invalid relocations in .debug_*.dwo sections\nwhen compiling with -gsplit-dwarf and -mrelax.\n\nFixes #187428\n\n(cherry picked from commit 89d8fe9d08c395875cf1201feaf9d213cadeea7a)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "069681304065430218298a62f672341752bf7285",
      "old_mode": 33188,
      "old_path": "llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp",
      "new_id": "291ef885a768f810af6afb59ca420d06aa90a2f6",
      "new_mode": 33188,
      "new_path": "llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "cf2b7cf1626b0e63ca61bf4f393beee834b85a2e",
      "new_mode": 33188,
      "new_path": "llvm/test/DebugInfo/LoongArch/dwo-no-relocations.ll"
    }
  ]
}
