[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
Mon May 18 16:50:10 PDT 2020


vitalybuka added a comment.

In D80046#2040309 <https://reviews.llvm.org/D80046#2040309>, @efriedma wrote:

> If I'm understanding this correctly, the stack-safe metadata on allocas is both produced and consumed at LTO-time.  So at the point where the stack-safe metadata would be produced, we can compute whether any later passes will query it.
>
> Given that, why do you need a module flag?


I assumed a pass knows nothing about consumers. Can you point to some examples how this can be done?


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