Files
minix/external/bsd/llvm/dist/lldb/test/plugins/builder_darwin.py
Lionel Sambuc 41f05bd8d7 Initial import of lldb
Change-Id: Ib244e837bee349effa12b2ff6ffffbe3d730e929
2018-03-26 17:37:53 +02:00

26 lines
900 B
Python

import os
import lldbtest
from builder_base import *
#print "Hello, darwin plugin!"
def buildDsym(sender=None, architecture=None, compiler=None, dictionary=None, clean=True):
"""Build the binaries with dsym debug info."""
if clean:
lldbtest.system(["/bin/sh", "-c",
"make clean" + getCmdLine(dictionary)
+ "; make MAKE_DSYM=YES"
+ getArchSpec(architecture) + getCCSpec(compiler)
+ getCmdLine(dictionary)],
sender=sender)
else:
lldbtest.system(["/bin/sh", "-c",
"make MAKE_DSYM=YES"
+ getArchSpec(architecture) + getCCSpec(compiler)
+ getCmdLine(dictionary)],
sender=sender)
# True signifies that we can handle building dsym.
return True