llvm-project/lldb
Davide Italiano a9d84cb9d8 [IRInterpreter] Fix misevaluation of interpretation expressions with `urem`.
Scalar::MakeUnsigned was implemented incorrectly so it didn't
really change the sign of the type (leaving signed types signed).
This showed up as a misevaluation when IR-interpreting urem but
it's likely to arise in other contexts.

This commit fixes the definition, and adds a test to make
sure this won't regress in future (hopefully).

Fixes rdar://problem/42038760 and LLVM PR38076

Differential Revision:  https://reviews.llvm.org/D49155

llvm-svn: 336872
2018-07-12 00:31:04 +00:00
..
cmake [CMake] Simplify a few framework build rules 2018-07-05 22:16:15 +00:00
docs Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
examples Update cmdtemplate.py to use best pratices. 2018-06-22 23:34:24 +00:00
include/lldb Allow specifying an exit code for the 'quit' command 2018-07-11 17:18:01 +00:00
lit [FileCheck] Add -allow-deprecated-dag-overlap to failing lldb tests 2018-07-11 20:27:05 +00:00
lldb.xcodeproj Re-sort the lldb.xcodeproj project file and commit the script 2018-07-03 00:43:57 +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 misevaluation of interpretation expressions with `urem`. 2018-07-12 00:31:04 +00:00
resources Fix up Info.plist when building LLDB.framework with CMake 2018-06-19 02:59:30 +00:00
scripts Allow specifying an exit code for the 'quit' command 2018-07-11 17:18:01 +00:00
source [IRInterpreter] Fix misevaluation of interpretation expressions with `urem`. 2018-07-12 00:31:04 +00:00
test [CMake] Move some variables around 2018-07-04 13:59:25 +00:00
third_party/Python/module *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
tools Allow specifying an exit code for the 'quit' command 2018-07-11 17:18:01 +00:00
unittests Refactor parsing of option lists with a raw string suffix. 2018-07-10 20:17:38 +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 Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00
.gitignore [dotest] Remove crashinfo hook 2018-01-10 10:18:47 +00:00
CMakeLists.txt [CMake] Remove redundant path component 2018-07-04 14:38:21 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt Changed builld-llvm.py to use .json files 2017-02-23 02:21:34 +00:00
LICENSE.TXT
use_lldb_suite_root.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00