Treat undef bytes as equal to any other byte

This commit is contained in:
Oli Scherer 2025-01-08 15:00:25 +00:00
parent 964c58a7d9
commit dfa4c01b2e
6 changed files with 40 additions and 7 deletions

View file

@ -918,6 +918,7 @@ unsafe extern "C" {
pub fn LLVMMetadataTypeInContext(C: &Context) -> &Type;
// Operations on all values
pub fn LLVMIsUndef(Val: &Value) -> Bool;
pub fn LLVMTypeOf(Val: &Value) -> &Type;
pub fn LLVMGetValueName2(Val: &Value, Length: *mut size_t) -> *const c_char;
pub fn LLVMSetValueName2(Val: &Value, Name: *const c_char, NameLen: size_t);