summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbeetrees <b@beetr.ee>2024-08-17 05:32:09 +0100
committerbeetrees <b@beetr.ee>2024-11-26 13:00:08 +0000
commit68227a3777c7bf8ba6a69e2b8871d224504d1c31 (patch)
tree663e6bc486cd00472f24f82dfe92b3ef17c01188 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentf2abf827c128120ed7a874d02973947968c158b8 (diff)
downloadrust-68227a3777c7bf8ba6a69e2b8871d224504d1c31.tar.gz
rust-68227a3777c7bf8ba6a69e2b8871d224504d1c31.zip
Pass end position of span through inline ASM cookie
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
-rw-r--r--compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
index 06550728f0f..b79205ff946 100644
--- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
+++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
@@ -1535,7 +1535,7 @@ extern "C" LLVMTypeKind LLVMRustGetTypeKind(LLVMTypeRef Ty) {
 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(SMDiagnostic, LLVMSMDiagnosticRef)
 
 extern "C" LLVMSMDiagnosticRef LLVMRustGetSMDiagnostic(LLVMDiagnosticInfoRef DI,
-                                                       unsigned *Cookie) {
+                                                       uint64_t *Cookie) {
   llvm::DiagnosticInfoSrcMgr *SM =
       static_cast<llvm::DiagnosticInfoSrcMgr *>(unwrap(DI));
   *Cookie = SM->getLocCookie();