[llvm] [lit] Implement builtin umask (PR #94621)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 07:24:08 PDT 2024


================
@@ -87,10 +87,11 @@ class ShellEnvironment(object):
     we maintain a dir stack for pushd/popd.
     """
 
-    def __init__(self, cwd, env):
+    def __init__(self, cwd, env, umask=-1):
         self.cwd = cwd
         self.env = dict(env)
         self.dirStack = []
+        self.umask = umask
----------------
jayfoad wrote:

Done, thanks.

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


More information about the llvm-commits mailing list