[PATCH] D47967: [debuginfo-tests] Always use the system python to invoke llgdb.py.

Ahmed Bougacha via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 10 12:42:57 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL334369: [debuginfo-tests] Always use the system python to invoke llgdb.py. (authored by ab, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D47967?vs=150593&id=150658#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D47967

Files:
  debuginfo-tests/trunk/test_debuginfo.pl


Index: debuginfo-tests/trunk/test_debuginfo.pl
===================================================================
--- debuginfo-tests/trunk/test_debuginfo.pl
+++ debuginfo-tests/trunk/test_debuginfo.pl
@@ -56,7 +56,8 @@
 if (!$my_debugger) {
     if ($use_lldb) {
         my $path = dirname(Cwd::abs_path($0));
-        $my_debugger = "/usr/bin/env python $path/llgdb.py";
+        # At least on darwin, LLDB needs te system python.
+        $my_debugger = "/usr/bin/python $path/llgdb.py";
     } else {
         $my_debugger = "gdb";
     }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47967.150658.patch
Type: text/x-patch
Size: 545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180610/c5b1a3b8/attachment.bin>


More information about the llvm-commits mailing list