On Thu, Mar 31, 2016 at 3:39 PM, Michael Hudson-Doyle
<
michael...@canonical.com> wrote:
> OK. So "do not strip gccgo binaries" still seems like good general
> advice, but simple things that are known not to call Callers or Caller
> might be safe?
Yes.
> Is there any prospect of lifting this, i.e. implementing Caller or
> Callers without needing debug data?
It is theoretically possible. We could, for example, run a program on
the .o file that copies the debug line info to a separate section that
the strip program does not discard. Of course the resulting binaries
would become much larger. Another approach would be to modify the
strip program to recognize Go binaries and not discard their
debug_line info.
Ian