[libcxx-commits] [libcxx] [libc++] Put _LIBCPP_NODEBUG on all internal aliases (PR #118710)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 9 17:14:06 PST 2025


Andarwinux wrote:

> > My crash report is an lld-generated report.tar, which should be easier to reproduce than others (just run `lld-link @response.txt`)
> 
> That's very possible. Unfortunately, I don't have a very firm grasp on what lld actually does and how it would map to source code. libc++ is most likely the only part I can work in with any amount of efficiency.

lld is a linker, this PR causes clang or lld to crash inside llvm, for my case, since libc++ is built with LTO, the crash is delayed until lld performs LTO, so a standalone one-click reproducer can be generated with -Wl,-reproduce.
Since the reproducer doesn't have any libc++ headers, this probably won't help in debugging problems with lib++, but should help in understanding why the crash occurs.

https://github.com/llvm/llvm-project/pull/118710


More information about the libcxx-commits mailing list