[PATCH] D54337: [ASan] Make AddressSanitizer a ModulePass

Philip Pfaffe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 10 03:01:30 PST 2018


philip.pfaffe added a comment.

The problem is not speed but correctness. The initialization adds function definitions, which function passes can't do. So we need to initialize out-of-band, either with a separate module pass, or some function outside of the pass pipeline. I strongly prefer the latter, but it's not entirely clear to me how this function should be called. It's obviousl when running this through clang, but what about opt?


Repository:
  rL LLVM

https://reviews.llvm.org/D54337





More information about the llvm-commits mailing list