Commit Graph

2 Commits

Author SHA1 Message Date
Slava Pestov
45330816b4 Profile: Run tests through to -emit-ir to get better coverage 2020-03-17 19:03:03 -04:00
Vedant Kumar
a9da803033 [SILProfiler] Set up profiling for lazily-emitted functions (#22403)
A SIL function that's initially only emitted as a declaration may later
be prepared for definition. When this happens, set up a profiler for the
definition.

This makes code coverage visible for private methods (the frontend
follows a declare-then-define pattern for these).

rdar://47759243
2019-02-05 19:57:18 -08:00