diff options
Diffstat (limited to 'zluda_dump/src/log.rs')
-rw-r--r-- | zluda_dump/src/log.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zluda_dump/src/log.rs b/zluda_dump/src/log.rs index 474912f..a7dc399 100644 --- a/zluda_dump/src/log.rs +++ b/zluda_dump/src/log.rs @@ -302,6 +302,11 @@ pub(crate) enum LogEntry { raw_image: *const c_void,
kind: &'static str,
},
+ MalformedFunctionName(Utf8Error),
+ FunctionParameter {
+ name: &'static str,
+ value: String,
+ },
MalformedModulePath(Utf8Error),
NonUtf8ModuleText(Utf8Error),
NulInsideModuleText(NulError),
@@ -377,6 +382,8 @@ impl Display for LogEntry { expected,
observed,
} => write!(f, "Unexected argument"),
+ LogEntry::MalformedFunctionName(e) => e.fmt(f),
+ LogEntry::FunctionParameter { name, value } => write!(f, "{}: {}", name, value),
}
}
}
|