[PATCH] D53336: Stack Safety Analysis documentation

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 19 10:03:32 PDT 2018


eugenis added inline comments.


================
Comment at: llvm/docs/Passes.rst:363
+variables can be considered safe from memory access bugs. The pass attaches
+``!stack-safe`` to such variables.
+
----------------
I think we should distinguish the analysis itself which simply lets you query safety of variables, and the wrapper pass that sets the metadata. The primary usage mode of this thing should be by query, not by metadata IMHO.


Repository:
  rL LLVM

https://reviews.llvm.org/D53336





More information about the llvm-commits mailing list