[all-commits] [llvm/llvm-project] f05e2f: Don't allow SBValue::Cast to cast from a smaller t...
jimingham via All-commits
all-commits at lists.llvm.org
Mon Jun 26 16:02:18 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f05e2fb013f0e2504471a9899dba7d70cc58a63d
https://github.com/llvm/llvm-project/commit/f05e2fb013f0e2504471a9899dba7d70cc58a63d
Author: Jim Ingham <jingham at apple.com>
Date: 2023-06-26 (Mon, 26 Jun 2023)
Changed paths:
M lldb/include/lldb/Core/ValueObject.h
M lldb/include/lldb/Core/ValueObjectConstResult.h
M lldb/include/lldb/Core/ValueObjectConstResultCast.h
M lldb/include/lldb/Core/ValueObjectConstResultChild.h
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M lldb/source/Core/ValueObject.cpp
M lldb/source/Core/ValueObjectConstResult.cpp
M lldb/source/Core/ValueObjectConstResultCast.cpp
M lldb/source/Core/ValueObjectConstResultChild.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp
M lldb/test/API/python_api/value/TestValueAPI.py
M lldb/test/API/python_api/value/main.c
Log Message:
-----------
Don't allow SBValue::Cast to cast from a smaller type to a larger,
as we don't in general know where the extra data should come from.
Differential Revision: https://reviews.llvm.org/D153657
More information about the All-commits
mailing list