swiftlang / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Swift’s stable releases of Clang as well as support the Swift project.
https://llvm.org
Other
1.12k stars 332 forks source link

[Cherry-pick into swift/release/6.1] [lldb] Refactor UserExpression::Evaluate to only have one error channel. (#117186) #9662

Open adrian-prantl opened 5 days ago

adrian-prantl commented 5 days ago
commit 6a8a4d51a4415aa453b79f999bed411bad6c3723
Author: Adrian Prantl <aprantl@apple.com>
Date:   Thu Nov 21 15:37:04 2024 -0800

    [lldb] Refactor UserExpression::Evaluate to only have one error channel. (#117186)

    Prior to this patch, the function returned an exit status, sometimes a
    ValueObject with an error and a Status object. This patch removes the
    Status object and ensures the error is consistently returned as the
    error of the ValueObject.
adrian-prantl commented 5 days ago

@swift-ci test