[PATCH] D80692: Run Coverage pass before other *San passes under new pass manager, round 2

Leonard Chan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 28 16:32:20 PDT 2020


leonardchan accepted this revision.
leonardchan added a comment.

In D80692#2061739 <https://reviews.llvm.org/D80692#2061739>, @aeubanks wrote:

> I foolishly submitted without running check-all, and it turns out this broke a test under check-clang.
>  Looks like https://reviews.llvm.org/D62888 added tests in sancov-new-pm.c to make sure that sancov + LTO work together, but they won't after this change since the (Thin)LTO pipeline doesn't run things under `registerOptimizerLastEPCallback()`. So I deleted those tests. Other sanitizers don't work under LTO right now (at least for non-O0) because of the same thing. Does this make sense?


Makes sense. Could you also remove any CHECK lines for RUNs that were removed?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80692/new/

https://reviews.llvm.org/D80692





More information about the cfe-commits mailing list