diff options
author | Jorge Gorbe Moya <jgorbe@google.com> | 2019-05-09 16:47:07 +0000 |
---|---|---|
committer | Jorge Gorbe Moya <jgorbe@google.com> | 2019-05-09 16:47:07 +0000 |
commit | adf427b82d405a775fa5881cb74ef46ea1abbf89 (patch) | |
tree | ebf6381babf6a7c150931f133ffe2a007443faaa /lldb/packages/Python/lldbsuite/test/python_api | |
parent | f0ee69f75d61dc5c2ad476536ef695a50b320a6e (diff) | |
download | bcm5719-llvm-adf427b82d405a775fa5881cb74ef46ea1abbf89.tar.gz bcm5719-llvm-adf427b82d405a775fa5881cb74ef46ea1abbf89.zip |
[lldb] build.py: fix behavior when passing --compiler=/path/to/compiler
All the other paths in the find_toolchain function return a tuple
(detected_toolchain_type, compiler_path), but when the parameter to
--compiler is not one of the predefined names it only returns the
detected toolchain type, which causes an error when trying to unpack the
result.
This patch changes it to return also the compiler path passed as a
parameter.
Differential Revision: https://reviews.llvm.org/D61713
llvm-svn: 360355
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions