llvm-project/lldb/tools
Adrian McCarthy 4447d15aef Fix lit tests on Windows related to CR+LF
Problem discovered in the breakpoint lit test, but probably exists in others.
lldb-test splits lines on LF.  Input files that are CR+LF separated (as is
common on Windows) then resulted in commands being sent to LLDB that ended
in CR, which confused the command interpreter.

This could be fixed at different levels:

1.  Treat '\r' like a tab or space in the argument splitter.
2.  Fix the line splitters (plural) in lldb-test.
3.  Normalize the test files to LF only.

If we did only 3, I'd expect similar problems to recur, so this patch does
1 and 2.  I may also do 3 in a separate patch later, but that's tricky
because I believe we have some input files that MUST use CR+LF.

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

llvm-svn: 362844
2019-06-07 21:13:30 +00:00
..
argdumper [CMake] LLDB.framework tools handling 2019-05-29 11:26:06 +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 [CMake] LLDB.framework tools handling 2019-05-29 11:26:06 +00:00
darwin-threads the thread id is easier to read in base16. 2018-03-06 23:33:02 +00:00
debugserver [CMake] LLDB.framework tools handling 2019-05-29 11:26:06 +00:00
driver [CMake] LLDB.framework tools handling 2019-05-29 11:26:06 +00:00
install-headers add back an Xcode-specific Makefile for header installation 2016-01-28 22:34:36 +00:00
intel-features Delete unnecessary copy ctors 2019-05-22 08:38:23 +00:00
lldb-instr [Reproducers] Capture return values of functions returning by ptr/ref 2019-04-03 21:31:22 +00:00
lldb-mi [CMake] LLDB.framework tools handling 2019-05-29 11:26:06 +00:00
lldb-perf Delete unnecessary copy ctors/copy assignment operators 2019-05-15 11:23:54 +00:00
lldb-server [CMake] Remove lldb-server from LLDB.framework 2019-05-29 11:28:11 +00:00
lldb-test Fix lit tests on Windows related to CR+LF 2019-06-07 21:13:30 +00:00
lldb-vscode [CMake] LLDB.framework tools handling 2019-05-29 11:26:06 +00:00
CMakeLists.txt [CMake] Reinstate LLDB_CAN_USE_LLDB_SERVER 2019-05-13 22:55:11 +00:00