mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-11 09:06:08 +00:00

The Darwin builder is passing some of the make arguments trough the environment instead of the command line. Update the dsym builder to do the same as the other variants.
29 lines
791 B
Python
29 lines
791 B
Python
|
|
import lldbsuite.test.lldbtest as lldbtest
|
|
|
|
from builder_base import *
|
|
|
|
def buildDsym(
|
|
sender=None,
|
|
architecture=None,
|
|
compiler=None,
|
|
dictionary=None,
|
|
testdir=None,
|
|
testname=None):
|
|
"""Build the binaries with dsym debug info."""
|
|
commands = []
|
|
commands.append(getMake(testdir, testname) +
|
|
["MAKE_DSYM=YES",
|
|
getArchSpec(architecture),
|
|
getCCSpec(compiler),
|
|
getDsymutilSpec(),
|
|
getSDKRootSpec(),
|
|
getModuleCacheSpec(),
|
|
"all",
|
|
getCmdLine(dictionary)])
|
|
|
|
runBuildCommands(commands, sender=sender)
|
|
|
|
# True signifies that we can handle building dsym.
|
|
return True
|