[Lldb-commits] [lldb] 97e7fbb - [LLDB] More Windows non-English locales fixes

Alexandre Ganea via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 8 14:23:50 PDT 2020


Author: Alexandre Ganea
Date: 2020-10-08T17:22:42-04:00
New Revision: 97e7fbb343e2a4ea913686254105b9965c5468f8

URL: https://github.com/llvm/llvm-project/commit/97e7fbb343e2a4ea913686254105b9965c5468f8
DIFF: https://github.com/llvm/llvm-project/commit/97e7fbb343e2a4ea913686254105b9965c5468f8.diff

LOG: [LLDB] More Windows non-English locales fixes

This is a follow-up for https://reviews.llvm.org/D88975

Added: 
    

Modified: 
    lldb/packages/Python/lldbsuite/test/lldbtest.py

Removed: 
    


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py
index 2309b403cb99..69da3914f1f2 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -516,7 +516,7 @@ def system(commands, **kwargs):
                 "command": shellCommand
             }
             raise cpe
-        output = output + this_output.decode("utf-8")
+        output = output + this_output.decode("utf-8", errors='ignore')
     return output
 
 


        


More information about the lldb-commits mailing list