<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/102389>102389</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [llvm-lit] Unhashable TypeError 'GlobItem'  in lit’s internal shell
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          Harini0924
      </td>
    </tr>
</table>

<pre>
    The test cases in the `long-object-path.cpp` file are encountering unhashable type errors for `GlobItem` instances. This issue occurs due to improper handling of `GlobItem` instances within the test execution logic, specifically in the `_executeShCmd` function in lit's `TestRunner.py`.
The error is encountered in the `TestRunner.py` file, specifically within the `_executeShCmd` function at line 770:
`inproc_builtin = inproc_builtins.get(args[0], None)`

Error Displayed: 
```
inproc_builtin = inproc_builtins.get(args[0], None)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unhashable type: 'GlobItem'```

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8lE1v2zAMhn-NfCFiKPL3wYe2abZddti6cyHLjM1BkQxJbpd_P0jJ2i77uAyYIdiwIb58H5qU9J4mg9iz6pZVu0yuYbaufy8dGeKdKLPBjqf-YUYI6AMo6dEDGQgzAqu5tmba2OErqrBZZJhztSys5nAgjSAdAhplVxPQkZlgNbP0sxw0QjgtCOicdR4O1kWtd9oOHwIeYzwZH6RR6HN4mMkDeb8iWKVW52FcEYIFOi7OLuhglmbUUd8e_qgDzxTmi-9Egt9QrYGsAW0nUkzcgV9Q0YGU1Pr0hvHxvBU_z3fHMcGtRqVIMqApMNH4uO8Bffi0GoMuX06s5jnjO8ZvYu0SKJB_LQeObzJcR6by_eLoDcFfXckAmgxC03BW3JxNsJqTWZxVj8NKOpABVuzg508-nzAw0Uo3eVbdclbtooeP1iATHav5RSrd7xPRjvyi5QlHVtzAS6bLSq__mjWJwO8uVt3_j3X-h6cFE3HkvOrihC6al64TzVUJsrEvxq7oZIb9thEFr5tuW2VzP4q2xKZUh1o0RXmo2-JQdl3X1HXT8LEZM-oFFyVveSO2VVtUeVvIWsiSDx3WKKuClRyPknSu9dMxt27K0qD0Wy6Ktsu0HFD7NNtCGHw-jxETIo6662PQZlgnz0quyQf_KhMo6HQopD2xyasdfHkFfynIFTr8mIl7wVrOui4eFgGdkRr8jFpnq9P9HMLiY2-KPRP7icK8DrmyRyb2Md_lsVmcjQcLE_vk2zOxv4A99eJ7AAAA__-hCHev">