[PATCH] D45346: [LLVM-C] Audit Inline Assembly APIs for Consistency

whitequark via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 5 19:14:22 PDT 2018


whitequark requested changes to this revision.
whitequark added a comment.
This revision now requires changes to proceed.

Oh sorry, I've missed one API issue.



================
Comment at: include/llvm-c/Core.h:684
+LLVMValueRef LLVMGetInlineAsm(LLVMTypeRef Ty,
+                              char *AsmString, char *Constraints,
+                              LLVMBool HasSideEffects, LLVMBool IsAlignStack,
----------------
I think this should be `const char *AsmString, size_t AsmStringSize, const char *Constraints, size_t ConstraintsSize`.


https://reviews.llvm.org/D45346





More information about the llvm-commits mailing list