Files
clang-p2996/lldb/test/plugins/builder_darwin.py
Peter Collingbourne 19f48d51f6 Add a builder module for Linux (plus some refactoring)
llvm-svn: 133457
2011-06-20 19:06:20 +00:00

19 lines
586 B
Python

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