We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ddd9c3 commit 5413d2bCopy full SHA for 5413d2b
compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -1712,6 +1712,10 @@ unsafe extern "C" {
1712
1713
// FFI bindings for `DIBuilder` functions in the LLVM-C API.
1714
// Try to keep these in the same order as in `llvm/include/llvm-c/DebugInfo.h`.
1715
+//
1716
+// FIXME(#134001): Audit all `Option` parameters, especially in lists, to check
1717
+// that they really are nullable on the C/C++ side. LLVM doesn't appear to
1718
+// actually document which ones are nullable.
1719
unsafe extern "C" {
1720
pub(crate) fn LLVMCreateDIBuilder<'ll>(M: &'ll Module) -> *mut DIBuilder<'ll>;
1721
pub(crate) fn LLVMDisposeDIBuilder<'ll>(Builder: ptr::NonNull<DIBuilder<'ll>>);
0 commit comments