[Lldb-commits] [lldb] r367386 - Change '|' to '&' in conditional.

2019-10-04 Thread Richard Trieu via lldb-commits
Author: rtrieu Date: Tue Jul 30 21:41:05 2019 New Revision: 367386 URL: http://llvm.org/viewvc/llvm-project?rev=367386&view=rev Log: Change '|' to '&' in conditional. Bitwise-or with a non-zero constant will always evaluate to true. Switch to bitwise-and which will only evalute to true if the sp

[Lldb-commits] [lldb] r362194 - Fix problem with r362192

2019-10-04 Thread Richard Trieu via lldb-commits
Author: rtrieu Date: Thu May 30 22:55:07 2019 New Revision: 362194 URL: http://llvm.org/viewvc/llvm-project?rev=362194&view=rev Log: Fix problem with r362192 The string returned only sometimes ends in NULL. Explicitly check for the NULL and pop off the NULL if it is there. Modified: lldb/tr

[Lldb-commits] [lldb] r362192 - Fix off-by-one error.

2019-10-04 Thread Richard Trieu via lldb-commits
Author: rtrieu Date: Thu May 30 22:06:54 2019 New Revision: 362192 URL: http://llvm.org/viewvc/llvm-project?rev=362192&view=rev Log: Fix off-by-one error. The created string is one char too large, so it pulls the terminating NULL as the last character of the string. This later causes SocketTest.

[Lldb-commits] [lldb] r362035 - Use correct format specifier to silence -Wformat warning.

2019-10-04 Thread Richard Trieu via lldb-commits
Author: rtrieu Date: Wed May 29 14:25:15 2019 New Revision: 362035 URL: http://llvm.org/viewvc/llvm-project?rev=362035&view=rev Log: Use correct format specifier to silence -Wformat warning. Modified: lldb/trunk/source/Utility/Timer.cpp Modified: lldb/trunk/source/Utility/Timer.cpp URL: htt

[Lldb-commits] [lldb] r349128 - Remove unused variable.

2019-10-04 Thread Richard Trieu via lldb-commits
Author: rtrieu Date: Thu Dec 13 21:40:30 2018 New Revision: 349128 URL: http://llvm.org/viewvc/llvm-project?rev=349128&view=rev Log: Remove unused variable. Modified: lldb/trunk/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp Modified: lldb/trunk/source/Plugins/SymbolFile/NativeP