We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 181b8f9 commit 7d93cc9Copy full SHA for 7d93cc9
compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -1626,6 +1626,10 @@ unsafe extern "C" {
1626
1627
// FFI bindings for `DIBuilder` functions in the LLVM-C API.
1628
// Try to keep these in the same order as in `llvm/include/llvm-c/DebugInfo.h`.
1629
+//
1630
+// FIXME(#134001): Audit all `Option` parameters, especially in lists, to check
1631
+// that they really are nullable on the C/C++ side. LLVM doesn't appear to
1632
+// actually document which ones are nullable.
1633
unsafe extern "C" {
1634
pub(crate) fn LLVMCreateDIBuilder<'ll>(M: &'ll Module) -> *mut DIBuilder<'ll>;
1635
pub(crate) fn LLVMDisposeDIBuilder<'ll>(Builder: ptr::NonNull<DIBuilder<'ll>>);
0 commit comments