hanchenye-llvm-project/lldb
Pavel Labath c7c9d76187 IRInterpreter: fix sign extension of small types (pr37840)
Sign-extension of small types (e.g. short) was not handled correctly.
The reason for that was that when we were assigning the a value to the
Scalar object, we would accidentally promote the type to int (even
though the assignment code in AssignTypeToMatch tried to cast the value
to the appropriate type, it would still invoke the "int" version of
operator=). Instead, I use the APInt version of operator=, where the
bitwidth is specified explicitly. Among other things, this allows us to
fold the individual size cases into one.

llvm-svn: 335114
2018-06-20 10:45:29 +00:00
..
cmake Fix up Info.plist when building LLDB.framework with CMake 2018-06-19 02:59:30 +00:00
docs Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
examples Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
include/lldb Fix compilation with mingw-w64 (pr37873) 2018-06-20 09:53:30 +00:00
lit DebugNamesDWARFIndex: fix handling of compressed sections 2018-06-14 14:41:30 +00:00
lldb.xcodeproj Sort the files in the PBXBuildFile and PBXFileReference 2018-06-15 23:29:32 +00:00
lldb.xcworkspace Fix a typo in the gtest build target for Debug configuration. 2018-04-10 17:49:56 +00:00
packages/Python/lldbsuite IRInterpreter: fix sign extension of small types (pr37840) 2018-06-20 10:45:29 +00:00
resources Fix up Info.plist when building LLDB.framework with CMake 2018-06-19 02:59:30 +00:00
scripts Add a script to setup codesigning on macOS. 2018-06-14 18:04:13 +00:00
source IRInterpreter: fix sign extension of small types (pr37840) 2018-06-20 10:45:29 +00:00
test [test] Fix --framework argument passed to dotest. 2018-05-29 12:30:27 +00:00
third_party/Python/module
tools Introduce lldb-framework CMake target and centralize its logic 2018-06-18 18:27:16 +00:00
unittests Scalar: Use llvm integer conversion functions 2018-06-19 17:24:03 +00:00
utils [CMake] Unify and relayer testing 2018-05-03 16:54:10 +00:00
www Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
.arcconfig
.clang-format
.gitignore [dotest] Remove crashinfo hook 2018-01-10 10:18:47 +00:00
CMakeLists.txt Attempt to fix windows build broken by r334968 2018-06-19 14:23:31 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt
LICENSE.TXT
use_lldb_suite_root.py