[PATCH] D30307: Fix insertion of `sanitizer_cov_trace_pc_guard` insertion in optimized code with debug info

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 23 12:54:28 PST 2017


On Thu, Feb 23, 2017 at 12:04 PM, Mehdi AMINI via Phabricator via
llvm-commits <llvm-commits at lists.llvm.org> wrote:

> mehdi_amini created this revision.
> Herald added a subscriber: aprantl.
>
> It is illegal to have a call without debug info attached in a function
> with debug info: it'll crash the backend.
>

Isn't that a bug in the backend? What happens if I inline a function
compiled without debug info into a function compiled with debug info?

Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170223/22871e9e/attachment.html>


More information about the llvm-commits mailing list