summaryrefslogtreecommitdiff
path: root/libiberty/testsuite
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <eddyb@lyken.rs>2019-10-03 23:54:47 +0200
committerJeff Law <law@gcc.gnu.org>2019-10-03 15:54:47 -0600
commite1cb00db670e4eb277f8315ecc1da65a5477298d (patch)
tree235ba1d4bb16a449f4864cb9dd94ecb3260f1a20 /libiberty/testsuite
parente23390d29e19a8a6aea06fd3c4cc3990c9977ac8 (diff)
rust-demangle.c (looks_like_rust): Remove.
* rust-demangle.c (looks_like_rust): Remove. (rust_is_mangled): Don't check escapes. (is_prefixed_hash): Allow 0-9a-f permutations. (rust_demangle_sym): Don't bail on unknown escapes. * testsuite/rust-demangle-expected: Update 'main::$99$' test. From-SVN: r276539
Diffstat (limited to 'libiberty/testsuite')
-rw-r--r--libiberty/testsuite/rust-demangle-expected2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/testsuite/rust-demangle-expected b/libiberty/testsuite/rust-demangle-expected
index c3b03f9f02d..74774794736 100644
--- a/libiberty/testsuite/rust-demangle-expected
+++ b/libiberty/testsuite/rust-demangle-expected
@@ -41,7 +41,7 @@ main::main::he714a2e23ed7db2g
# $XX$ substitutions should not contain just numbers.
--format=auto
_ZN4main4$99$17he714a2e23ed7db23E
-main::$99$::he714a2e23ed7db23
+main::$99$
# _ at start of path should be removed.
# ".." translates to "::" "$GT$" to ">" and "$LT$" to "<".
--format=rust