ZequanWu wrote:

> This patch broke the lldb incremental bot on greendragon
> 
> https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/15486/
> 
> ******************** TEST 'lldb-shell :: 
> SymbolFile/DWARF/x86/simplified-template-names.cpp' FAILED 
> ******************** Exit Code: 1
> 
> ## Command Output (stderr):
> RUN: at line 7: 
> /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang 
> --driver-mode=g++ --target=specify-a-target-or-use-a-_host-substitution 
> --target=x86_64-pc-linux -g -gsimple-template-names 
> /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/Shell/SymbolFile/DWARF/x86/simplified-template-names.cpp
>  -o 
> /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/tools/lldb/test/Shell/SymbolFile/DWARF/x86/Output/simplified-template-names.cpp.tmp
> 
> * 
> /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang 
> --driver-mode=g++ --target=specify-a-target-or-use-a-_host-substitution 
> --target=x86_64-pc-linux -g -gsimple-template-names 
> /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/Shell/SymbolFile/DWARF/x86/simplified-template-names.cpp
>  -o 
> /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/tools/lldb/test/Shell/SymbolFile/DWARF/x86/Output/simplified-template-names.cpp.tmp
>   ld: warning: -m is obsolete
>   ld: unknown option: --hash-style=gnu
>   clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)

I should explicitly call ld.lld. Relanded 
[here](https://github.com/llvm/llvm-project/commit/f06c187799d910fd3ac3e9106397e5eecff9f265)

https://github.com/llvm/llvm-project/pull/112811
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to