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

Michał Górny via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 4 15:08:36 PST 2020


On Wed, 2020-11-04 at 09:01 +0100, Pavel Labath wrote:
> 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" ?

Will do, thanks for the suggestion.

-- 
Best regards,
Michał Górny




More information about the lldb-commits mailing list