chill marked 4 inline comments as done.
chill added inline comments.

================
Comment at: clang/lib/CodeGen/CGCall.cpp:1882
+  if (FI.isCmseNSCall())
+    FuncAttrs.addAttribute("cmse_nonsecure_call");
+
----------------
snidertm wrote:
> 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
    CallInst *CI = ... ;
   ... = CI->getAttributes().hasFnAttribute("cmse_nonsecure_call"))


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71129



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to