2015-10-23 17:04:29 +00:00
|
|
|
|
2015-11-03 02:06:18 +00:00
|
|
|
import lldbsuite.test.lldbtest as lldbtest
|
2011-06-20 19:06:20 +00:00
|
|
|
|
|
|
|
from builder_base import *
|
|
|
|
|
2012-02-01 01:49:50 +00:00
|
|
|
def buildDsym(
|
|
|
|
sender=None,
|
|
|
|
architecture=None,
|
|
|
|
compiler=None,
|
|
|
|
dictionary=None,
|
2018-02-06 18:22:51 +00:00
|
|
|
testdir=None,
|
|
|
|
testname=None):
|
2011-06-20 19:06:20 +00:00
|
|
|
"""Build the binaries with dsym debug info."""
|
2014-07-22 16:19:29 +00:00
|
|
|
commands = []
|
2018-02-06 18:22:51 +00:00
|
|
|
commands.append(getMake(testdir, testname) +
|
2018-01-30 18:29:16 +00:00
|
|
|
["MAKE_DSYM=YES",
|
|
|
|
getArchSpec(architecture),
|
|
|
|
getCCSpec(compiler),
|
2020-06-02 16:40:07 -07:00
|
|
|
getDsymutilSpec(),
|
|
|
|
getSDKRootSpec(),
|
|
|
|
getModuleCacheSpec(),
|
|
|
|
"all",
|
|
|
|
getCmdLine(dictionary)])
|
2014-07-22 16:19:29 +00:00
|
|
|
|
2016-05-14 00:42:30 +00:00
|
|
|
runBuildCommands(commands, sender=sender)
|
2011-06-20 19:06:20 +00:00
|
|
|
|
|
|
|
# True signifies that we can handle building dsym.
|
|
|
|
return True
|