[libcxx-commits] [PATCH] D128146: [libc++] Use uninitialized algorithms for vector

Alexander Kornienko via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 22 08:19:33 PDT 2022


alexfh added a comment.

In D128146#3671687 <https://reviews.llvm.org/D128146#3671687>, @ldionne wrote:

> In D128146#3671442 <https://reviews.llvm.org/D128146#3671442>, @hans wrote:
>
>> In Chromium we noticed that this adds 65 MB of debug info to one of our binaries (we noticed because that pushed it over the 4GB limit, so we'll need to do something about that anyway).
>
> Now, that is an actual issue that mandates our attention. Thanks for the heads up. I suspect it has to do with the fact that we instantiate more templates before we get to the `memmove` optimization in `std::copy`. @hans Do you have any way to tell what's in the 65 MB of debug information? Or a reproducer so we can try a few things out and see what impact it has on the size of the debug info? I assume this problem wouldn't be visible on a simple reproducer hand-written from scratch.
>
> @philnik Let's re-land this with an XFAIL for the LLDB test and work with the Chromium folks to decrease the amount of debug information this creates. We can do this after the release and cherry-pick back the improvements.

It's not just Chromium, btw. We're seeing more fallout from to this commit. My teammates will post specific findings a bit later today.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128146/new/

https://reviews.llvm.org/D128146



More information about the libcxx-commits mailing list