fmayer wrote:

> There's a flag:
> 
> ```
> LSAN_FLAG(bool, use_ld_allocations, true,
>           "Root set: mark as reachable all allocations made from dynamic "
>           "linker. This was the old way to handle dynamic TLS, and will "
>           "be removed soon. Do not use this flag.")
> ```
> 
> Obviously we shouldn't use this flag, but I wonder if something like that 
> would be better than specifically suppressing `*dlerror*` (are other `dl*` 
> functions going to break at some point?).

Yeah, it would be better to fix the root cause. But until then, this exclusion 
makes sense IMO. WDYT?

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

Reply via email to