llvm-project/lldb/source
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
..
API Add compatibility version to liblldb in framework builds 2018-09-12 18:10:22 +00:00
Breakpoint Rollback "Fix raw address breakpoints not resolving". 2018-09-10 23:09:09 +00:00
Commands NFC: Move Searcher::Depth into lldb-enumerations as SearchDepth. 2018-09-07 18:43:04 +00:00
Core Remove byte counting from SourceManager [NFC] 2018-09-13 09:19:40 +00:00
DataFormatters Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
Expression [DWARFExpression] Read literars as unsigned values. 2018-09-13 15:18:39 +00:00
Host Do not create new terminals when launching process on Windows with --no-stdio 2018-09-12 19:50:45 +00:00
Initialization Move pretty stack trace printer into driver. 2018-07-17 10:04:19 +00:00
Interpreter Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
Plugins Fix two issues in PDBASTParser 2018-09-12 12:26:11 +00:00
Symbol [PDB] Restore AST from PDB symbols 2018-09-10 08:08:43 +00:00
Target Remove another unused mislayered include. 2018-09-12 11:31:18 +00:00
Utility Remove manual byte counting from internal Stream methods. 2018-09-12 10:20:41 +00:00
CMakeLists.txt Remove Plugins/Process/POSIX from include_directories 2017-04-11 12:26:25 +00:00
lldb.cpp Run clang-format on lldb.cpp 2017-11-02 16:56:52 +00:00