You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This argument allows to set specific sysroot pass which will be used for
building LLDB API test programs.
It might come in handy for setting up cross-platform remote runs of API
tests on Windows host.
It can be useful for cross-compiling LLDB API tests. The argument can be
set using `LLDB_TEST_USER_ARGS` argument:
```
cmake ...
-DLLDB_TEST_USER_ARGS="...;--sysroot;C:\path\to\sysroot;..."
...
```
Copy file name to clipboardExpand all lines: lldb/packages/Python/lldbsuite/test/dotest_args.py
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,15 @@ def create_parser():
49
49
"""Specify the compiler(s) used to build the inferior executables. The compiler path can be an executable basename or a full path to a compiler executable. This option can be specified multiple times."""
50
50
),
51
51
)
52
+
group.add_argument(
53
+
"--sysroot",
54
+
metavar="sysroot",
55
+
dest="sysroot",
56
+
default="",
57
+
help=textwrap.dedent(
58
+
"""Specify the path to sysroot. This overrides apple_sdk sysroot."""
0 commit comments