llvm-project/lldb
Jonas Devlieghere bf2d112c15 [DWARFExpression] Read literars as unsigned values.
After landing r341457, we started seeing a failure on the swift-lldb
bots. The change was correct and pretty straightforward, a DW_OP_constu
was replaced with DW_OP_lit23, the value remaining identical.

  0x000000f4: DW_TAG_variable
		DW_AT_location    (0x00000000
		  [0x0000000100000a51,  0x0000000100000d47): DW_OP_lit23, DW_OP_stack_value)
		DW_AT_name        ("number")

However, this broke LLDB.

  (Int) number = <extracting data from value failed>

The value was read correctly, but apparently the value's type was different.
When reading a constu it was reading a uint64 (m_type = e_ulonglong) while for
the literal, it got a signed int (m_type = e_sint). This change makes sure we
read the value as an unsigned.

Differential revision: https://reviews.llvm.org/D51730

llvm-svn: 342142
2018-09-13 15:18:39 +00:00
..
cmake [cmake] Add option to skip building lldb-server 2018-08-23 18:05:45 +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 Move SafeMachO from Utility to Host 2018-09-12 12:26:05 +00:00
lit [PDB] Restore AST from PDB symbols 2018-09-10 08:08:43 +00:00
lldb.xcodeproj [XCodeproj] Remove extra whitespace in SBAPI path. 2018-09-07 23:49:05 +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 [DWARFExpression] Read literars as unsigned values. 2018-09-13 15:18:39 +00:00
resources Fix up Info.plist when building LLDB.framework with CMake 2018-06-19 02:59:30 +00:00
scripts Remove undefined behavior around the use of StateType 2018-09-11 16:08:05 +00:00
source [DWARFExpression] Read literars as unsigned values. 2018-09-13 15:18:39 +00:00
test Fix typo 2018-08-27 21:46:18 +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 [PDB] Restore AST from PDB symbols 2018-09-10 08:08:43 +00:00
unittests If we fail to get an armv7em-- disassembler from llvm, skip the 2018-09-12 19:30:03 +00:00
utils [CMake] Unify and relayer testing 2018-05-03 16:54:10 +00:00
www [www] Updated outdated download links [NFC] 2018-09-05 14:27:48 +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 Introduce install-lldb-framework target 2018-08-01 17:21:18 +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