swift
b582dbfa - [Profiler] Clean up walking code a little

Commit
2 years ago
[Profiler] Clean up walking code a little Use the new explicit ASTWalker actions to factor out the skipping logic, ensuring to apply it in post-visitation too, which fixes a PCMacro crash (though I don't believe this is a configuration that ever actually comes up). Also tighten up invariants such that an `IfExpr` must appear within an existing region.
Author
Parents
  • lib/SIL/IR
    • File
      SILProfiler.cpp
  • test/Profiler
    • File
      coverage_pc_macro.swift