[Lldb-commits] [lldb] 051da2b - [lldb] [test/Shell] Pass -pthread to host toolchain on FreeBSD too

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 4 00:01:06 PST 2020


On 03/11/2020 22:02, Michał Górny via lldb-commits wrote:
> 
> Author: Michał Górny
> Date: 2020-11-03T22:01:59+01:00
> New Revision: 051da2bede4ba7231d009b5708d1191dde1e5dde
> 
> URL: https://github.com/llvm/llvm-project/commit/051da2bede4ba7231d009b5708d1191dde1e5dde
> DIFF: https://github.com/llvm/llvm-project/commit/051da2bede4ba7231d009b5708d1191dde1e5dde.diff
> 
> LOG: [lldb] [test/Shell] Pass -pthread to host toolchain on FreeBSD too
> 
> Added:
>      
> 
> Modified:
>      lldb/test/Shell/helper/toolchain.py
> 
> Removed:
>      
> 
> 
> ################################################################################
> diff  --git a/lldb/test/Shell/helper/toolchain.py b/lldb/test/Shell/helper/toolchain.py
> index 2b075d5523d4..cda66b652961 100644
> --- a/lldb/test/Shell/helper/toolchain.py
> +++ b/lldb/test/Shell/helper/toolchain.py
> @@ -116,7 +116,7 @@ def use_support_substitutions(config):
>               sdk_path = lit.util.to_string(out)
>               llvm_config.lit_config.note('using SDKROOT: %r' % sdk_path)
>               host_flags += ['-isysroot', sdk_path]
> -    elif platform.system() in ['NetBSD', 'OpenBSD', 'Linux']:
> +    elif platform.system() in ['FreeBSD', 'NetBSD', 'OpenBSD', 'Linux']:

Maybe this should just be sys.platform != "win32" ?


More information about the lldb-commits mailing list