Skip to content

Commit 56c1ad8

Browse files
committed
use unsigned unpackers for unsigned data
1 parent b542750 commit 56c1ad8

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎src/etc/debugger_tester/lldb/from_lldb.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def type_unpack_fmt(kind: int, size: int) -> str:
127127
fmt = _SIZE_TO_INT_FMT[size]
128128

129129
if kind in _UNSIGNED_INT_TYPES:
130-
fmt.upper()
130+
fmt = fmt.upper()
131131

132132
return fmt
133133

‎tests/debuginfo/pretty-std/lldb_input/windows_gnu.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"bless_metadata": {
33
"python_version": "3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]",
4-
"debugger_version": "lldb version 22.1.2 (https://github.com/llvm/llvm-project revision 1ab49a973e210e97d61e5db6557180dcb92c3e98)\n clang revision 1ab49a973e210e97d61e5db6557180dcb92c3e98\n llvm revision 1ab49a973e210e97d61e5db6557180dcb92c3e98",
4+
"debugger_version": "lldb version 22.1.8 (https://github.com/llvm/llvm-project revision ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)\n clang revision ca7933e47d3a3451d81e72ac174dcb5aa28b59d1\n llvm revision ca7933e47d3a3451d81e72ac174dcb5aa28b59d1",
55
"feature_flags": "LLDBFeature.StaticFields|TypeRecognizers|Float128"
66
},
77
"breakpoints": [
@@ -141,10 +141,10 @@
141141
110,
142142
103,
143143
32,
144-
-16,
145-
-97,
146-
-104,
147-
-125
144+
240,
145+
159,
146+
152,
147+
131
148148
]
149149
}
150150
},

‎tests/debuginfo/pretty-std/lldb_input/windows_msvc.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"bless_metadata": {
33
"python_version": "3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]",
4-
"debugger_version": "lldb version 22.1.2 (https://github.com/llvm/llvm-project revision 1ab49a973e210e97d61e5db6557180dcb92c3e98)\n clang revision 1ab49a973e210e97d61e5db6557180dcb92c3e98\n llvm revision 1ab49a973e210e97d61e5db6557180dcb92c3e98",
4+
"debugger_version": "lldb version 22.1.8 (https://github.com/llvm/llvm-project revision ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)\n clang revision ca7933e47d3a3451d81e72ac174dcb5aa28b59d1\n llvm revision ca7933e47d3a3451d81e72ac174dcb5aa28b59d1",
55
"feature_flags": "LLDBFeature.StaticFields|TypeRecognizers|Float128"
66
},
77
"breakpoints": [
@@ -145,10 +145,10 @@
145145
110,
146146
103,
147147
32,
148-
-16,
149-
-97,
150-
-104,
151-
-125
148+
240,
149+
159,
150+
152,
151+
131
152152
]
153153
}
154154
},

0 commit comments

Comments
 (0)