summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/prepare_binding_Python.py
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2019-07-18 18:18:51 +0000
committerJordan Rupprecht <rupprecht@google.com>2019-07-18 18:18:51 +0000
commit301c65a8e072e6346aa4bd38ca5dd54ecb41db3f (patch)
tree053d34a82b0ce22ac106f5769eef7812d32e3baf /lldb/scripts/Python/prepare_binding_Python.py
parentd91998a5ac5e5155419d3ea1e8b4113792626fe3 (diff)
downloadbcm5719-llvm-301c65a8e072e6346aa4bd38ca5dd54ecb41db3f.tar.gz
bcm5719-llvm-301c65a8e072e6346aa4bd38ca5dd54ecb41db3f.zip
[lldb][swig] Fix autodocs flag parsing
r366471 added "-features autodoc" without a trailing comment, leading to `Unrecognized option -features autodoc-threads` due to implicit string concatenation. Add a comma to fix that. Also separate into "-features" and "autodoc", otherwise it gets parsed as a single "-features autodoc" flag which is also not recognized (it must be two separate CLI args). llvm-svn: 366478
Diffstat (limited to 'lldb/scripts/Python/prepare_binding_Python.py')
-rw-r--r--lldb/scripts/Python/prepare_binding_Python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Python/prepare_binding_Python.py b/lldb/scripts/Python/prepare_binding_Python.py
index f642ba3f41e..7d13d6ebb17 100644
--- a/lldb/scripts/Python/prepare_binding_Python.py
+++ b/lldb/scripts/Python/prepare_binding_Python.py
@@ -204,7 +204,7 @@ def do_swig_rebuild(options, dependency_file, config_build_dir, settings):
"-c++",
"-shadow",
"-python",
- "-features autodoc"
+ "-features", "autodoc",
"-threads",
"-I" + os.path.normpath(os.path.join(options.src_root, "include")),
"-I" + os.path.curdir,
OpenPOWER on IntegriCloud