MCPcopy Create free account
hub / github.com/nodejs/node / prepare_torque_cmdline

Function prepare_torque_cmdline

deps/v8/tools/dev/gm.py:419–423  ·  view source on GitHub ↗
(orig_cmdline: str, path)

Source from the content-addressed store, hash-verified

417
418
419def prepare_torque_cmdline(orig_cmdline: str, path):
420 torque_bin = path / "torque"
421 args = orig_cmdline.replace("-v8-root ../..", "-v8-root .")
422 args = args.replace("gen/torque-generated", f"{path}/gen/torque-generated")
423 return f"gdb --args {torque_bin} {args}"
424
425# Only has a path, assumes that the path (and args.gn in it) already exists.
426class RawConfig:

Callers 1

buildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected