diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-04-16 18:31:43 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-07-07 16:56:35 +0000 |
| commit | 58e551433d692579faf4ad59fb7f192aa9001677 (patch) | |
| tree | 042cc5e2dc2c322c8bbee86518858d7979279acf /compiler/rustc_codegen_llvm/src/llvm/ffi.rs | |
| parent | 959a2eb275c732ccc9153f0503dd64896533e997 (diff) | |
| download | rust-58e551433d692579faf4ad59fb7f192aa9001677.tar.gz rust-58e551433d692579faf4ad59fb7f192aa9001677.zip | |
Sync ar_archive_writer to LLVM 18.1.3
From LLVM 15.0.0-rc3. This adds support for COFF archives containing Arm64EC object files and has various fixes for AIX big archive files.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index 08e9e312827..f56a8036c65 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -2440,4 +2440,8 @@ extern "C" { callback: GetSymbolsCallback, error_callback: GetSymbolsErrorCallback, ) -> *mut c_void; + + pub fn LLVMRustIs64BitSymbolicFile(buf_ptr: *const u8, buf_len: usize) -> bool; + + pub fn LLVMRustIsECObject(buf_ptr: *const u8, buf_len: usize) -> bool; } |
