summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/finishSwigPythonLLDB.py
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-10-27 22:51:41 +0000
committerChris Bieneman <beanz@apple.com>2016-10-27 22:51:41 +0000
commit91967bd301cba2185b612b9b686cb7367383a00e (patch)
treea7ae0fc540284e0462169f5b74b5499106a01636 /lldb/scripts/Python/finishSwigPythonLLDB.py
parent0b82459c6cf22a17d116f836c0e47749b9ad5f4b (diff)
downloadbcm5719-llvm-91967bd301cba2185b612b9b686cb7367383a00e.tar.gz
bcm5719-llvm-91967bd301cba2185b612b9b686cb7367383a00e.zip
[CMake] Rename lldb-launcher to darwin-debug
Summary: This tool is only built on Darwin, and the name darwin-debug matches the Xcode project. We should have this in sync unless there is a good reason not to. Reviewers: zturner, tfiala, labath Subscribers: labath, mgorny, lldb-commits Differential Revision: https://reviews.llvm.org/D25745 llvm-svn: 285356
Diffstat (limited to 'lldb/scripts/Python/finishSwigPythonLLDB.py')
-rw-r--r--lldb/scripts/Python/finishSwigPythonLLDB.py40
1 files changed, 0 insertions, 40 deletions
diff --git a/lldb/scripts/Python/finishSwigPythonLLDB.py b/lldb/scripts/Python/finishSwigPythonLLDB.py
index 2c9d9f7044b..91e3a41f9ed 100644
--- a/lldb/scripts/Python/finishSwigPythonLLDB.py
+++ b/lldb/scripts/Python/finishSwigPythonLLDB.py
@@ -452,39 +452,6 @@ def make_symlink_liblldb(
return (bOk, strErrMsg)
#++---------------------------------------------------------------------------
-# Details: Make the symbolic link to the darwin-debug.
-# Args: vDictArgs - (R) Program input parameters.
-# vstrFrameworkPythonDir - (R) Python framework directory.
-# vstrDarwinDebugFileName - (R) File name for darwin-debug.
-# Returns: Bool - True = function success, False = failure.
-# Str - Error description on task failure.
-# Throws: None.
-#--
-
-
-def make_symlink_darwin_debug(
- vDictArgs,
- vstrFrameworkPythonDir,
- vstrDarwinDebugFileName):
- dbg = utilsDebug.CDebugFnVerbose(
- "Python script make_symlink_darwin_debug()")
- bOk = True
- strErrMsg = ""
- strTarget = vstrDarwinDebugFileName
- strSrc = ""
-
- bMakeFileCalled = "-m" in vDictArgs
- if not bMakeFileCalled:
- return (bOk, strErrMsg)
- else:
- strSrc = os.path.join("bin", "lldb-launcher")
-
- bOk, strErrMsg = make_symlink(
- vDictArgs, vstrFrameworkPythonDir, strSrc, strTarget)
-
- return (bOk, strErrMsg)
-
-#++---------------------------------------------------------------------------
# Details: Make the symbolic link to the lldb-argdumper.
# Args: vDictArgs - (R) Program input parameters.
# vstrFrameworkPythonDir - (R) Python framework directory.
@@ -550,13 +517,6 @@ def create_symlinks(vDictArgs, vstrFrameworkPythonDir, vstrLldbLibDir):
strLibLldbFileName,
vstrLldbLibDir)
- # Make symlink for darwin-debug on Darwin
- strDarwinDebugFileName = "darwin-debug"
- if bOk and eOSType == utilsOsType.EnumOsType.Darwin:
- bOk, strErrMsg = make_symlink_darwin_debug(vDictArgs,
- vstrFrameworkPythonDir,
- strDarwinDebugFileName)
-
# Make symlink for lldb-argdumper
strArgdumperFileName = "lldb-argdumper"
if bOk:
OpenPOWER on IntegriCloud