trcrsired wrote:

> What is the motivation for this change? I understand that gcc links it with 
> mcf threads, but AFAICT the corresponding patch on the gcc side 
> (https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655464.html) to do this 
> by default was not merged in the end, so this would diverge our behavior. In 
> general I'm not a huge fan of adding additional thinks to the link line 
> unless required by the implicitly linked runtime libraries, so I'm a mild NAK 
> unless there's another compelling reason to do this, but all cc @mstorsjo for 
> an opinion.

asking user to link -lntdll is annoying since it is always dynamically linked 
by the OS. This just allows users to use ntdll more easily.

That GCC patch was submitted by me.

https://github.com/llvm/llvm-project/pull/162997
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to