diff options
| author | jeffreytan81 <jeffreytan@meta.com> | 2026-02-09 19:23:40 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-09 19:23:40 -0800 |
| commit | d6ae568d58b31b1cdd0a5f8c84955330a35c3a38 (patch) | |
| tree | 8e67b6e1211d8d858d0c689eba31205ac48c2f6b /lldb/test/API/python_api/debugger | |
| parent | 9eca0a3b8bf2068497f1d6345ea290f43c663358 (diff) | |
| download | llvm-d6ae568d58b31b1cdd0a5f8c84955330a35c3a38.zip llvm-d6ae568d58b31b1cdd0a5f8c84955330a35c3a38.tar.gz llvm-d6ae568d58b31b1cdd0a5f8c84955330a35c3a38.tar.bz2 | |
Fix LLDB data formatter for llvm::Expected<T> with non-reference types (#179294)
This patch fixes LLDB data formatter support for llvm::Expected<T> with
the following changes:
llvm/utils/lldbDataFormatters.py: Fix ExpectedSynthProvider to handle
non-templated storage types (e.g., int, int*). Previously the formatter
only worked with templated storage types like std::reference_wrapper<T>.
cross-project-tests/lit.cfg.py:
Fix get_lldb_version_string() to use locally-built LLDB on non-Darwin
platforms instead of system LLDB
Fix minimum version from "1900" to "19.0.0" (typo in original code)
New test files: Added expected.cpp and expected.test to test the
formatter with Expected<int> and Expected<int*>.
---------
Co-authored-by: Jeffrey Tan <jeffreytan@fb.com>
Diffstat (limited to 'lldb/test/API/python_api/debugger')
0 files changed, 0 insertions, 0 deletions
