llvm-project/lldb/tools
Nathan Lanza 8b73fa61d1 Adjust the comment section of CreateSource to account for lines longer than 60
Summary:
On rare occasions, the address, instruction and arguments of a line of
assembly in the CreateSource printout would reach > 60 characters. The
function would integer overflow and try to indent a line by `0xfff...`.

Change the calculated offset to be the maximum of 60 or
`line_strm.str().size()`

Reviewers: clayborg, xiaobai

Reviewed By: clayborg

Differential Revision: https://reviews.llvm.org/D52745

llvm-svn: 346179
2018-11-05 22:55:30 +00:00
..
argdumper Introduce lldb-framework CMake target and centralize its logic 2018-06-18 18:27:16 +00:00
compact-unwind *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
darwin-debug Introduce lldb-framework CMake target and centralize its logic 2018-06-18 18:27:16 +00:00
darwin-threads the thread id is easier to read in base16. 2018-03-06 23:33:02 +00:00
debugserver Re-instate a bit of code that was commented out in r188246 which 2018-09-06 00:55:27 +00:00
driver Remove an early-return from Driver::ParseArgs that 2018-10-26 19:40:18 +00:00
install-headers add back an Xcode-specific Makefile for header installation 2016-01-28 22:34:36 +00:00
intel-features Enable AUTOBRIEF in doxygen configuration. 2018-05-02 16:55:16 +00:00
lldb-mi [lldb-mi] Implement -gdb-set breakpoint pending on/off 2018-10-30 03:10:41 +00:00
lldb-perf Make lldb -Werror clean for -Wstring-conversion 2017-01-06 00:38:06 +00:00
lldb-server [FileSystem] Move path resolution logic out of FileSpec 2018-11-01 21:05:36 +00:00
lldb-test Remove OCaml debugger plugin 2018-11-05 19:34:03 +00:00
lldb-vscode Adjust the comment section of CreateSource to account for lines longer than 60 2018-11-05 22:55:30 +00:00
CMakeLists.txt [cmake] Add option to skip building lldb-server 2018-08-23 18:05:45 +00:00