[PATCH] D71129: [ARM][CMSE] Implement CMSE attributes
Todd Snider via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 1 20:09:36 PDT 2020
snidertm added inline comments.
================
Comment at: clang/lib/CodeGen/CGCall.cpp:1882
+ if (FI.isCmseNSCall())
+ FuncAttrs.addAttribute("cmse_nonsecure_call");
+
----------------
Just curious … Does the LLVM backend have a way to extract a StringRef attribute from a CallInst? I know that you can do that with hasFnAttribute(), but I don't see anything for CallInst objects
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71129/new/
https://reviews.llvm.org/D71129
More information about the cfe-commits
mailing list