diff options
author | Eduard-Mihai Burtescu <eddyb@lyken.rs> | 2019-10-03 23:54:47 +0200 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2019-10-03 15:54:47 -0600 |
commit | e1cb00db670e4eb277f8315ecc1da65a5477298d (patch) | |
tree | 235ba1d4bb16a449f4864cb9dd94ecb3260f1a20 /libiberty/testsuite | |
parent | e23390d29e19a8a6aea06fd3c4cc3990c9977ac8 (diff) | |
download | gcc-e1cb00db670e4eb277f8315ecc1da65a5477298d.zip gcc-e1cb00db670e4eb277f8315ecc1da65a5477298d.tar.gz gcc-e1cb00db670e4eb277f8315ecc1da65a5477298d.tar.bz2 |
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-expected | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/testsuite/rust-demangle-expected b/libiberty/testsuite/rust-demangle-expected index c3b03f9..7477479 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 |