aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2024-02-22 21:48:49 -0800
committerGitHub <noreply@github.com>2024-02-22 21:48:49 -0800
commitafd469023aad10786eaea3d444047a558ad8d5c1 (patch)
treebce59a46389f5ea64a8c9a228d72cb06112692eb /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent0d72fe9777e7c131dfb50c172b944d64437e2ece (diff)
downloadllvm-afd469023aad10786eaea3d444047a558ad8d5c1.zip
llvm-afd469023aad10786eaea3d444047a558ad8d5c1.tar.gz
llvm-afd469023aad10786eaea3d444047a558ad8d5c1.tar.bz2
[lldb] Fix term-width setting (#82736)
I noticed that the term-width setting would always report its default value (80) despite the driver correctly setting the value with SBDebugger::SetTerminalWidth. ``` (lldb) settings show term-width term-width (int) = 80 ``` The issue is that the setting was defined as a SInt64 instead of a UInt64 while the getter returned an unsigned value. There's no reason the terminal width should be a signed value. My best guess it that it was using SInt64 because UInt64 didn't support min and max values. I fixed that and correct the type and now lldb reports the correct terminal width: ``` (lldb) settings show term-width term-width (unsigned) = 189 ``` rdar://123488999
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions