[PATCH] D101016: [IR][sanitizer] Add module flag "frame-pointer" and set it for cc1 -mframe-pointer={non-leaf,all}

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 22 02:21:56 PDT 2021


vitalybuka added inline comments.


================
Comment at: llvm/include/llvm/IR/Module.h:896
+  int getFramePointer() const;
+  void setFramePointer(int V);
+
----------------
It should be enum, similar to PIELevel.

And probably needs IR documentation update?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101016



More information about the cfe-commits mailing list