diff options
| author | bors <bors@rust-lang.org> | 2020-02-12 22:43:20 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-02-12 22:43:20 +0000 |
| commit | 92d8e82f6b571cecb1809a9aa85f8947e84b648d (patch) | |
| tree | 389649e7fcb8d8ad1709183e482bc0f158441f5f /src/rustllvm/RustWrapper.cpp | |
| parent | a1912f2e89b77cfe2a0e64b96f444848fe4e2d49 (diff) | |
| parent | 839adda4be859bac6518d3d3e0f6093defefae65 (diff) | |
| download | rust-92d8e82f6b571cecb1809a9aa85f8947e84b648d.tar.gz rust-92d8e82f6b571cecb1809a9aa85f8947e84b648d.zip | |
Auto merge of #69105 - Dylan-DPC:rollup-n73lh5h, r=Dylan-DPC
Rollup of 7 pull requests Successful merges: - #67954 (Support new LLVM pass manager) - #68981 ( Account for type params on method without parentheses) - #69002 (miri: improve and simplify overflow detection) - #69038 (Add initial debug fmt for Backtrace) - #69040 (Cleanup SGX entry code) - #69086 (Update compiler-builtins to 0.1.25) - #69095 (Minified theme check) Failed merges: r? @ghost
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
| -rw-r--r-- | src/rustllvm/RustWrapper.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/rustllvm/RustWrapper.cpp b/src/rustllvm/RustWrapper.cpp index 46e467011b9..49b6e1bfec3 100644 --- a/src/rustllvm/RustWrapper.cpp +++ b/src/rustllvm/RustWrapper.cpp @@ -1296,6 +1296,14 @@ extern "C" LLVMValueRef LLVMRustBuildMemMove(LLVMBuilderRef B, #endif } +extern "C" LLVMValueRef LLVMRustBuildMemSet(LLVMBuilderRef B, + LLVMValueRef Dst, unsigned DstAlign, + LLVMValueRef Val, + LLVMValueRef Size, bool IsVolatile) { + return wrap(unwrap(B)->CreateMemSet( + unwrap(Dst), unwrap(Val), unwrap(Size), DstAlign, IsVolatile)); +} + extern "C" LLVMValueRef LLVMRustBuildInvoke(LLVMBuilderRef B, LLVMValueRef Fn, LLVMValueRef *Args, unsigned NumArgs, LLVMBasicBlockRef Then, |
