[LLVMdev] How to strip all unused debugging metadata?

Eric Christopher echristo at apple.com
Tue Apr 24 11:13:35 PDT 2012


On Apr 24, 2012, at 8:43 AM, Matt Pharr <matt.pharr at gmail.com> wrote:

>  I'd have guessed that the DIBuilder infrastructure would have ended up doing that automagically for me, but maybe that was an incorrect assumption?

Yep. There's nothing that will remove them. Though, theoretically at least, if there's no function to get a range from we could avoid emitting the subprogram die.

-eric



More information about the llvm-dev mailing list