diff options
author | Jim Ingham <jingham@apple.com> | 2023-02-28 16:38:50 -0800 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2023-02-28 16:41:20 -0800 |
commit | e8a2fd5e7be23e4087e7ff58efa354dfae1a17c4 (patch) | |
tree | 3a63b3aeb87068e6f85d7f11b76a1524bbb4d1ea /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | c2d6cc9ac41cf83833b3d995aa1bb3b17b8204ea (diff) | |
download | llvm-e8a2fd5e7be23e4087e7ff58efa354dfae1a17c4.zip llvm-e8a2fd5e7be23e4087e7ff58efa354dfae1a17c4.tar.gz llvm-e8a2fd5e7be23e4087e7ff58efa354dfae1a17c4.tar.bz2 |
An SBValue whose underlying ValueObject has no valid value, but does
hold an error should:
(a) return false for IsValid, since that's the current behavior and is
a convenient way to check "should I get the value for this".
(b) preserve the error when an SBValue is made from it, and print the
error in the ValueObjectPrinter.
Make that happen.
Differential Revision: https://reviews.llvm.org/D144664
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions