Functions getting compiled multiple times

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?

Dan

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

···

On Nov 5, 2017, at 12:23 PM, Dan Stenmark via swift-users <swift-users@swift.org> wrote:

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