[swift-users] Functions getting compiled multiple times

Slava Pestov spestov at apple.com
Sun Nov 5 20:42:52 CST 2017



> On Nov 5, 2017, at 12:23 PM, Dan Stenmark via swift-users <swift-users at swift.org> wrote:
> 
> I’ve recently been profiling our compile times using the -debug-time-function-bodies flag, and I’ve noticed that some functions seem to be listed multiple times.  I know that -debug-time-function-bodies isn’t something that’s officially supported, but I’m not sure how to distinguish between a bug in that versus a problem in our own project.
> 
> Is a function being listed multiple times expected behavior and, if so, what does it indicate?

Can you give an example of such a function?

Slava

> 
> Dan
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20171105/cfcf3a80/attachment.html>


More information about the swift-users mailing list