(orig_cmdline: str, path)
| 417 | |
| 418 | |
| 419 | def 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. |
| 426 | class RawConfig: |