From 2ba24a90b9c388c0c9ca66037c78b5641e44ead3 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Wed, 30 Aug 2023 22:18:51 -0400 Subject: [PATCH] Add demangling for `f16` and `f128` `k` was selected for `f16` and `q` for `f128`. These are different from LLVM's defaults. --- src/v0.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/v0.rs b/src/v0.rs index 3e88fa6..032519c 100644 --- a/src/v0.rs +++ b/src/v0.rs @@ -385,8 +385,10 @@ fn basic_type(tag: u8) -> Option<&'static str> { b'y' => "u64", b'o' => "u128", b'j' => "usize", + b'k' => "f16", b'f' => "f32", b'd' => "f64", + b'q' => "f128", b'z' => "!", b'p' => "_", b'v' => "...",