]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - packages/Python/lldbsuite/test/plugins/builder_darwin.py
Vendor import of lldb trunk r290819:
[FreeBSD/FreeBSD.git] / packages / Python / lldbsuite / test / plugins / builder_darwin.py
1
2 from __future__ import print_function
3 import os
4 import lldbsuite.test.lldbtest as lldbtest
5
6 from builder_base import *
7
8
9 def buildDsym(
10         sender=None,
11         architecture=None,
12         compiler=None,
13         dictionary=None,
14         clean=True):
15     """Build the binaries with dsym debug info."""
16     commands = []
17
18     if clean:
19         commands.append(["make", "clean", getCmdLine(dictionary)])
20     commands.append(["make", "MAKE_DSYM=YES", getArchSpec(
21         architecture), getCCSpec(compiler), getCmdLine(dictionary)])
22
23     runBuildCommands(commands, sender=sender)
24
25     # True signifies that we can handle building dsym.
26     return True