summaryrefslogtreecommitdiff
path: root/libc/spec
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2022-12-01 10:06:36 +0000
committerGuillaume Chatelet <gchatelet@google.com>2022-12-01 10:07:04 +0000
commit436c8f4420a62e7d3601693f4097bc6e6a5ee9f4 (patch)
treebfea341aeb07a19c98e69ac3b1ae51cf9566b503 /libc/spec
parentbcdf590b81cf8ddddcc1bb7a0e41b67e8b568843 (diff)
downloadllvm-436c8f4420a62e7d3601693f4097bc6e6a5ee9f4.tar.gz
[reland][libc] Add bcopy
Differential Revision: https://reviews.llvm.org/D138994
Diffstat (limited to 'libc/spec')
-rw-r--r--libc/spec/llvm_libc_ext.td5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/spec/llvm_libc_ext.td b/libc/spec/llvm_libc_ext.td
index 76f06223756d..731671f7306b 100644
--- a/libc/spec/llvm_libc_ext.td
+++ b/libc/spec/llvm_libc_ext.td
@@ -6,6 +6,11 @@ def LLVMLibcExt : StandardSpec<"llvm_libc_ext"> {
[], // Enumerations
[
FunctionSpec<
+ "bcopy",
+ RetValSpec<VoidType>,
+ [ArgSpec<ConstVoidPtr>, ArgSpec<VoidPtr>, ArgSpec<SizeTType>]
+ >,
+ FunctionSpec<
"bzero",
RetValSpec<VoidType>,
[ArgSpec<VoidPtr>, ArgSpec<SizeTType>]