llvm-project/lldb/source/Expression
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
..
CMakeLists.txt Break dependency from Core to ObjectFileJIT. 2018-05-23 23:56:09 +00:00
DWARFExpression.cpp Typo fixes. 2018-05-29 09:10:46 +00:00
DiagnosticManager.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
Expression.cpp [lldb] Fix typos in file headers 2016-11-26 05:23:44 +00:00
ExpressionSourceCode.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
ExpressionVariable.cpp Refactor GetNextPersistentVariableName into a non-virtual method 2018-04-30 23:59:17 +00:00
FunctionCaller.cpp Set m_struct_valid to initial value in ctor. 2018-05-31 20:01:15 +00:00
IRDynamicChecks.cpp Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
IRExecutionUnit.cpp Break dependency from Core to ObjectFileJIT. 2018-05-23 23:56:09 +00:00
IRInterpreter.cpp IRInterpreter: fix sign extension of small types (pr37840) 2018-06-20 10:45:29 +00:00
IRMemoryMap.cpp [IRMemoryMap] Fix the alignment adjustment in Malloc 2018-05-31 22:08:59 +00:00
LLVMUserExpression.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
Materializer.cpp Refactor GetNextPersistentVariableName into a non-virtual method 2018-04-30 23:59:17 +00:00
REPL.cpp Replace HostInfo::GetLLDBPath with specific functions 2018-06-19 15:09:07 +00:00
UserExpression.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
UtilityFunction.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00