Page MenuHomePhabricator

[not for review] preserve debug info in thinlto

Authored by inglorion on May 16 2019, 3:55 PM.



This is a possible way to get LTO to not drop debug information with
rL358069. It marks native object files generated by LTO as live if
they contain global symbols (which means these symbols are used by
other TUs or exported) so that even if MarkLive cannot see a reference
to the object, its debug information is preserved.

Event Timeline

inglorion created this revision.May 16 2019, 3:55 PM
inglorion abandoned this revision.May 16 2019, 3:57 PM

I put this up for preservation purposes, but I'm not convinced that we should actually go this route, so abandoning.

ormris removed a subscriber: ormris.May 16 2019, 4:03 PM