[Lldb-commits] [lldb] c106abf - [lldb] Fixed SyntaxWarning invalid escape sequence '\l' in lldbtest.py (#90609)

via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 30 07:15:20 PDT 2024


Author: Dmitry Vasilyev
Date: 2024-04-30T15:15:14+01:00
New Revision: c106abfe9f3d3ed78a946009f7625088f28e9065

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

LOG: [lldb] Fixed SyntaxWarning invalid escape sequence '\l' in lldbtest.py (#90609)

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 591e834c7cdf49..5fd686c143e9f9 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -1526,7 +1526,7 @@ def buildLibrary(self, sources, lib_name):
                     os.path.join(os.environ["LLDB_SRC"], "include"),
                     os.path.join(configuration.lldb_obj_root, "include"),
                 ),
-                "LD_EXTRAS": "-shared -l%s\liblldb.lib" % lib_dir,
+                "LD_EXTRAS": "-shared -l%s\\liblldb.lib" % lib_dir,
             }
         else:
             d = {


        


More information about the lldb-commits mailing list