summaryrefslogtreecommitdiff
path: root/absl/debugging/BUILD.bazel
diff options
context:
space:
mode:
authorGravatar Chris Mihelich <cmihelic@google.com>2024-06-26 15:13:52 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2024-06-26 15:14:45 -0700
commit16452e1418c1c2a8bcf4a99238e190ba901a20a6 (patch)
tree551f86735011199f26edd2a635683c33bcd80cd6 /absl/debugging/BUILD.bazel
parent63d4b2fe1e0d4bd6a7b916f398643db40c35624b (diff)
Decoder for Rust-style Punycode encodings of bounded length.
PiperOrigin-RevId: 647093624 Change-Id: Ic76bfa4aa8fb616cb23095ce7bfa30c3812dcb21
Diffstat (limited to 'absl/debugging/BUILD.bazel')
-rw-r--r--absl/debugging/BUILD.bazel16
1 files changed, 16 insertions, 0 deletions
diff --git a/absl/debugging/BUILD.bazel b/absl/debugging/BUILD.bazel
index 0cd8015c..6e867cef 100644
--- a/absl/debugging/BUILD.bazel
+++ b/absl/debugging/BUILD.bazel
@@ -220,12 +220,14 @@ cc_library(
cc_library(
name = "demangle_internal",
srcs = [
+ "internal/decode_rust_punycode.cc",
"internal/demangle.cc",
"internal/demangle_rust.cc",
"internal/utf8_for_code_point.cc",
],
hdrs = [
"internal/bounded_utf8_length_sequence.h",
+ "internal/decode_rust_punycode.h",
"internal/demangle.h",
"internal/demangle_rust.h",
"internal/utf8_for_code_point.h",
@@ -240,6 +242,7 @@ cc_library(
"//absl/base",
"//absl/base:config",
"//absl/base:core_headers",
+ "//absl/base:nullability",
"//absl/numeric:bits",
],
)
@@ -258,6 +261,19 @@ cc_test(
)
cc_test(
+ name = "decode_rust_punycode_test",
+ srcs = ["internal/decode_rust_punycode_test.cc"],
+ copts = ABSL_TEST_COPTS,
+ linkopts = ABSL_DEFAULT_LINKOPTS,
+ deps = [
+ ":demangle_internal",
+ "//absl/base:config",
+ "@com_google_googletest//:gtest",
+ "@com_google_googletest//:gtest_main",
+ ],
+)
+
+cc_test(
name = "demangle_rust_test",
srcs = ["internal/demangle_rust_test.cc"],
copts = ABSL_TEST_COPTS,