[llvm] [llvm-lit] Fix Unhashable TypeError when using lit's internal shell (PR #101590)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 9 01:20:40 PDT 2024


================
@@ -767,6 +767,10 @@ def _executeShCmd(cmd, shenv, results, timeoutHelper):
         # echo-appending to a file.
         # FIXME: Standardize on the builtin echo implementation. We can use a
         # temporary file to sidestep blocking pipe write issues.
+
+        # Ensure args[0] is hashable
----------------
jh7370 wrote:

```suggestion
        # Ensure args[0] is hashable.
```
Nit

https://github.com/llvm/llvm-project/pull/101590


More information about the llvm-commits mailing list