aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorMed Ismail Bennani <ismail@bennani.ma>2024-06-05 13:21:27 -0700
committerGitHub <noreply@github.com>2024-06-05 13:21:27 -0700
commitf8afa763c6194f5bf485480e1fb94b953942f876 (patch)
tree4460f56e1da5e96bc685bf3b9b163ed777691eeb /lldb/test/Shell/ScriptInterpreter/Python
parentb477d1de6e3a5e5860fe7fdf272e8bbb6a330f48 (diff)
downloadllvm-f8afa763c6194f5bf485480e1fb94b953942f876.zip
llvm-f8afa763c6194f5bf485480e1fb94b953942f876.tar.gz
llvm-f8afa763c6194f5bf485480e1fb94b953942f876.tar.bz2
[lldb/crashlog] Use environment variable to manually set dsymForUUIDBinary (#94517)
In lldb, users can change the `dsymForUUID` binary using the `LLDB_APPLE_DSYMFORUUID_EXECUTABLE` environment variable. This patch changes the crashlog to support the same behaviour as lldb and uses this environment variable to disable `dsymForUUID` lookups in crashlog test by having it be empty. Since CI bots shoudn't have access to images on build records, it doesn't make sense to make use of `dsymForUUID` in tests. rdar://128953725 Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python')
-rw-r--r--lldb/test/Shell/ScriptInterpreter/Python/Crashlog/lit.local.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/lit.local.cfg b/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/lit.local.cfg
index 4170696..3da9265 100644
--- a/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/lit.local.cfg
+++ b/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/lit.local.cfg
@@ -3,3 +3,5 @@ if 'system-darwin' not in config.available_features:
if 'lldb-repro' in config.available_features:
config.unsupported = True
+
+config.environment["LLDB_APPLE_DSYMFORUUID_EXECUTABLE"] = ""