diff options
author | jeffreytan81 <jeffreytan@meta.com> | 2023-11-08 16:48:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-08 16:48:55 -0800 |
commit | f175b9647ccdfd67300264b2d3bd76e6f9a3fb93 (patch) | |
tree | 3fb37b9fb6f7f13ff901b555f280ce64dcb274d2 /llvm/lib/Bitcode/Writer | |
parent | 4c9f6d6f029752eeaf71ed88c5ff74db3f9800b9 (diff) | |
download | llvm-f175b9647ccdfd67300264b2d3bd76e6f9a3fb93.zip llvm-f175b9647ccdfd67300264b2d3bd76e6f9a3fb93.tar.gz llvm-f175b9647ccdfd67300264b2d3bd76e6f9a3fb93.tar.bz2 |
Improve VSCode DAP logpoint value summary (#71723)
Currently VSCode logpoint uses `SBValue::GetValue` to get the value for
printing. This is not providing an intuitive result for std::string or
char * -- it shows the pointer value instead of the string content.
This patch improves by prefers `SBValue::GetSummary()` before using
`SBValue::GetValue()`.
---------
Co-authored-by: jeffreytan81 <jeffreytan@fb.com>
Diffstat (limited to 'llvm/lib/Bitcode/Writer')
0 files changed, 0 insertions, 0 deletions