)]}'
{
  "commit": "6f9b09edaee43ea34d34b1998fe7b844834f251a",
  "tree": "c0ae8cd64603201c664070d06c2efdc9dcee4bab",
  "parents": [
    "cb3a7614feb82ffdc25161bf60529116c6112ab3"
  ],
  "author": {
    "name": "Alok Kumar Sharma",
    "email": "AlokKumar.Sharma@amd.com",
    "time": "Sun May 22 21:46:06 2022 +0530"
  },
  "committer": {
    "name": "Kavitha Natarajan",
    "email": "kavitha.natarajan@amd.com",
    "time": "Sun May 22 21:46:06 2022 +0530"
  },
  "message": "Accept functions with DW_AT_linkage_name present\n\nCurrently GDB is not able to debug (Binary generated with Clang) variables\npresent in shared/private clause of OpenMP Task construct. Please note that\nLLVM debugger LLDB is able to debug.\n\nIn case of OpenMP, compilers generate artificial functions which are not\npresent in actual program. This is done to apply parallelism to block of\ncode.\n\nFor non-artifical functions, DW_AT_name attribute should contains the name\nexactly as present in actual program.\n(Ref# http://wiki.dwarfstd.org/index.php?title\u003dBest_Practices)\nSince artificial functions are not present in actual program they not having\nDW_AT_name and having DW_AT_linkage_name instead should be fine.\n\nCurrently GDB is invalidating any function not havnig DW_AT_name which is why\nit is not able to debug OpenMP (Clang).\n\nIt should be fair to fallback to check DW_AT_linkage_name in case DW_AT_name\nis absent.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d146d5250669540456f611f3db486c0e18e15289",
      "old_mode": 33188,
      "old_path": "gdb/dwarf2/read.c",
      "new_id": "b7ad75e3a29972808e77fdb566a6a4de401ac028",
      "new_mode": 33188,
      "new_path": "gdb/dwarf2/read.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "bdeeae501cb01096f18e26a9ba707a70d683542d",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/omp-task.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8f46658fe0dd8d78da2ff6fd45d3e8d1f56054aa",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.threads/omp-task.exp"
    }
  ]
}
