summaryrefslogtreecommitdiff
path: root/absl
diff options
context:
space:
mode:
authorGravatar Chris Mihelich <cmihelic@google.com>2024-06-27 12:58:13 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2024-06-27 12:59:04 -0700
commitd4cf6b71af0960eeacf45f9b3c7d5d713d52e3b1 (patch)
tree00d8ded19ea6d43a146138f12895ed190c9b9ece /absl
parentf3725a74f141cc792af7765c6d90e488c9e6fb69 (diff)
Declare Rust demangling feature-complete.
PiperOrigin-RevId: 647417773 Change-Id: I7d945ae27199262b3baf83b232d17c2f641a27ac
Diffstat (limited to 'absl')
-rw-r--r--absl/debugging/internal/demangle.h3
-rw-r--r--absl/debugging/internal/demangle_rust.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/absl/debugging/internal/demangle.h b/absl/debugging/internal/demangle.h
index e75d1473..cb0aba13 100644
--- a/absl/debugging/internal/demangle.h
+++ b/absl/debugging/internal/demangle.h
@@ -56,7 +56,8 @@ namespace debugging_internal {
//
// See the unit test for more examples.
//
-// Support for Rust mangled names is in development; see demangle_rust.h.
+// Demangle also recognizes Rust mangled names by delegating the parsing of
+// anything that starts with _R to DemangleRustSymbolEncoding (demangle_rust.h).
//
// Note: we might want to write demanglers for ABIs other than Itanium
// C++ ABI in the future.
diff --git a/absl/debugging/internal/demangle_rust.h b/absl/debugging/internal/demangle_rust.h
index 29e08ecd..94a9aecb 100644
--- a/absl/debugging/internal/demangle_rust.h
+++ b/absl/debugging/internal/demangle_rust.h
@@ -32,9 +32,6 @@ namespace debugging_internal {
// DemangleRustSymbolEncoding is async-signal-safe and runs in bounded C++
// call-stack space. It is suitable for symbolizing stack traces in a signal
// handler.
-//
-// The demangling logic is under development; search for "not yet implemented"
-// in the .cc file to see where the gaps are.
bool DemangleRustSymbolEncoding(const char* mangled, char* out,
size_t out_size);