aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm/Demangle/Demangle.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/Demangle/Demangle.h')
-rw-r--r--llvm/include/llvm/Demangle/Demangle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/Demangle/Demangle.h b/llvm/include/llvm/Demangle/Demangle.h
index b4006a067d10..c396a1dc5dd3 100644
--- a/llvm/include/llvm/Demangle/Demangle.h
+++ b/llvm/include/llvm/Demangle/Demangle.h
@@ -57,6 +57,9 @@ char *microsoftDemangle(const char *mangled_name, size_t *n_read,
char *buf, size_t *n_buf,
int *status, MSDemangleFlags Flags = MSDF_None);
+// Demangles a Rust v0 mangled symbol. The API follows that of __cxa_demangle.
+char *rustDemangle(const char *MangledName, char *Buf, size_t *N, int *Status);
+
/// Attempt to demangle a string using different demangling schemes.
/// The function uses heuristics to determine which demangling scheme to use.
/// \param MangledName - reference to string to demangle.