[llvm] Fix LLDB data formatter for llvm::Expected<T> with non-reference types (PR #179294)
Michael Buch via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 3 08:20:37 PST 2026
================
@@ -285,9 +285,16 @@ def get_lldb_version_string():
--version output is formatted unexpectedly.
"""
try:
- cmd = ["lldb", "--version"]
if platform.system() == "Darwin":
- cmd = ["xcrun"] + cmd
+ # On Darwin, use system lldb which has Apple-specific versioning.
----------------
Michael137 wrote:
I just re-used the logic that was there before I refactored it. It's probably OK to just re-use the non-Darwin logic for Darwin here
https://github.com/llvm/llvm-project/pull/179294
More information about the llvm-commits
mailing list