diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2022-12-01 10:06:36 +0000 |
---|---|---|
committer | Guillaume Chatelet <gchatelet@google.com> | 2022-12-01 10:07:04 +0000 |
commit | 436c8f4420a62e7d3601693f4097bc6e6a5ee9f4 (patch) | |
tree | bfea341aeb07a19c98e69ac3b1ae51cf9566b503 /libc/spec | |
parent | bcdf590b81cf8ddddcc1bb7a0e41b67e8b568843 (diff) | |
download | llvm-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.td | 5 |
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>] |