llvm-project/lldb/packages/Python/lldbsuite/test/lang
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
..
c [DWARFExpression] Read literars as unsigned values. 2018-09-13 15:18:39 +00:00
cpp Avoid using short identifiers in some tests 2018-08-31 18:25:01 +00:00
go Temporarily skip Go TestExpressions on FreeBSD as it hangs 2018-04-21 13:59:07 +00:00
mixed Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
objc [SymbolFile] Implement GetCompleteObjCClass for .debug_names 2018-06-27 19:58:39 +00:00
objcxx Fix Module::FindTypes to return the correct number of matches. 2018-06-01 20:14:21 +00:00