[zorg] r279663 - update Xcode LLDB build to use the just-build debugserver

Todd Fiala via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 14:17:09 PDT 2016


Author: tfiala
Date: Wed Aug 24 16:17:09 2016
New Revision: 279663

URL: http://llvm.org/viewvc/llvm-project?rev=279663&view=rev
Log:
update Xcode LLDB build to use the just-build debugserver

We are hitting issues where newer lldb code that requires
a newer debugserver is failing to launch debugserver
successfully due to using the older Xcode Apple-signed
debugserver.  A failure to launch debugserver during
the test suite run has dire consequences for the
host as it causes a bunch of test inferiors to be
launched but never disposed of properly.

This change forces CI to use an lldb_codesign key
as described in the lldb docs folder.

rdar://problem/27995417 tracks the "dire consequences"
issue.

Modified:
    zorg/trunk/zorg/jenkins/build.py

Modified: zorg/trunk/zorg/jenkins/build.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/jenkins/build.py?rev=279663&r1=279662&r2=279663&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/build.py (original)
+++ zorg/trunk/zorg/jenkins/build.py Wed Aug 24 16:17:09 2016
@@ -408,8 +408,15 @@ def lldb_builder():
         "-arch", "x86_64",
         "-configuration", build_configuration,
         "-scheme", "desktop",
-        "-derivedDataPath", conf.lldbbuilddir(),
-        "DEBUGSERVER_USE_FROM_SYSTEM=1"]
+        "-derivedDataPath", conf.lldbbuilddir()
+        # It is too fragile to use the Xcode debugserver.  If we add new
+        # command line arguments to debugserver, the older Xcode debugserver
+        # will fall over and not run.  By commenting out this flag, we
+        # are requiring the builder to have the lldb_codesign code signing
+        # certificate and we are ensuring we are testing the latest debugserver
+        # from lldb.
+        # "DEBUGSERVER_USE_FROM_SYSTEM=1"
+        ]
 
     header("Build Xcode desktop scheme")
     run_cmd("lldb", xcodebuild_cmd)




More information about the llvm-commits mailing list