[PATCH] D80046: [StackSafety] Make full LTO to attach metadata if MTE is enabled

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 15 17:24:54 PDT 2020


vitalybuka added a comment.

> It could also be better, instead of iterating over all functions, simply run the global pass, but make sure that it does not do too much work on non-sanitize_memtag functions. I.e. the function pass should bail out on such functions, and then the data flow will have no data to run on, so that should also be pretty fast.

Actually I don't think it's right this to do. Function pass is analysis. If it's not needed, just don't query it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80046





More information about the cfe-commits mailing list