aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorAlvin Wong <alvin@alvinhc.com>2023-04-24 21:52:18 +0800
committerAlvin Wong <alvin@alvinhc.com>2023-04-27 16:28:34 +0800
commitf1431bbfb17cd7167adda9fc8521bb6eec52c300 (patch)
treebeb85e8522745dd6dddde7b9a4f04d5bfb4a0902 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parent61be9358963806f6dfd118cd7602a67e8ec01c82 (diff)
downloadllvm-f1431bbfb17cd7167adda9fc8521bb6eec52c300.zip
llvm-f1431bbfb17cd7167adda9fc8521bb6eec52c300.tar.gz
llvm-f1431bbfb17cd7167adda9fc8521bb6eec52c300.tar.bz2
[lit] Set __COMPAT_LAYER=RunAsInvoker when running tests on Windows
Windows heuristics try to detect old installer programs and run them as elevated. These heuristics include checking for certain substrings in file names, e.g. "patch", "update", "setup". When lit tries to run affected executables, it produces "[WinError 740] The requested operation requires elevation" instead. Several tests have been affected by this issue (see https://reviews.llvm.org/D137772, https://reviews.llvm.org/D148988, https://reviews.llvm.org/D149004). We should set this environment variable to disable this heuristic once and for all, instead of setting it in inidividual test suites. There should be no lit tests that legitimately want to run as elevated. Differential Revision: https://reviews.llvm.org/D149064
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions