[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:26:12 PDT 2021


vitalybuka added inline comments.


================
Comment at: llvm/lib/IR/Function.cpp:346
+  case 1:
+    B.addAttribute("frame-pointer", "non-leaf");
+    break;
----------------
Should these be added into Attribute:: ?


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