From a28ee5b51c9ea41707d9a5d2d358ad77850264c4 Mon Sep 17 00:00:00 2001 From: Chris Mihelich Date: Mon, 6 May 2024 05:56:26 -0700 Subject: Recognize some simple Rust mangled names in Demangle. PiperOrigin-RevId: 631018414 Change-Id: Ice8efa0af4cb1f72b5d62fbbea4cb12cbead8634 --- absl/debugging/CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'absl/debugging/CMakeLists.txt') diff --git a/absl/debugging/CMakeLists.txt b/absl/debugging/CMakeLists.txt index 65e2af88..027a6be2 100644 --- a/absl/debugging/CMakeLists.txt +++ b/absl/debugging/CMakeLists.txt @@ -196,8 +196,10 @@ absl_cc_library( demangle_internal HDRS "internal/demangle.h" + "internal/demangle_rust.h" SRCS "internal/demangle.cc" + "internal/demangle_rust.cc" COPTS ${ABSL_DEFAULT_COPTS} DEPS @@ -206,6 +208,19 @@ absl_cc_library( PUBLIC ) +absl_cc_test( + NAME + demangle_rust_test + SRCS + "internal/demangle_rust_test.cc" + COPTS + ${ABSL_TEST_COPTS} + DEPS + absl::demangle_internal + absl::config + GTest::gmock_main +) + absl_cc_test( NAME demangle_test -- cgit v1.2.3