llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-lldb Author: Brad Smith (brad0) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/74017.diff 2 Files Affected: - (modified) lldb/packages/Python/lldbsuite/test/lldbplatformutil.py (+1-1) - (modified) lldb/test/API/lit.cfg.py (+1-1) ``````````diff diff --git a/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py b/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py index 4b58ab3814626c4..1966153415fe1fb 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py +++ b/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py @@ -173,7 +173,7 @@ def __init__( def createPlatformContext(): if platformIsDarwin(): return _PlatformContext("DYLD_LIBRARY_PATH", ":", "lib", "dylib") - elif getPlatform() in ("freebsd", "linux", "netbsd"): + elif getPlatform() in ("linux", "freebsd", "netbsd", "openbsd"): return _PlatformContext("LD_LIBRARY_PATH", ":", "lib", "so") else: return _PlatformContext("PATH", ";", "", "dll") diff --git a/lldb/test/API/lit.cfg.py b/lldb/test/API/lit.cfg.py index 8b35e8b2a217cf7..12675edc0fd3b9e 100644 --- a/lldb/test/API/lit.cfg.py +++ b/lldb/test/API/lit.cfg.py @@ -45,7 +45,7 @@ def find_sanitizer_runtime(name): def find_shlibpath_var(): - if platform.system() in ["Linux", "FreeBSD", "NetBSD", "SunOS"]: + if platform.system() in ["Linux", "FreeBSD", "NetBSD", "OpenBSD", "SunOS"]: yield "LD_LIBRARY_PATH" elif platform.system() == "Darwin": yield "DYLD_LIBRARY_PATH" `````````` </details> https://github.com/llvm/llvm-project/pull/74017 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits