rust-demangle.c (looks_like_rust): Remove.
authorEduard-Mihai Burtescu <eddyb@lyken.rs>
Thu, 3 Oct 2019 21:54:47 +0000 (23:54 +0200)
committerJeff Law <law@gcc.gnu.org>
Thu, 3 Oct 2019 21:54:47 +0000 (15:54 -0600)
commite1cb00db670e4eb277f8315ecc1da65a5477298d
tree235ba1d4bb16a449f4864cb9dd94ecb3260f1a20
parente23390d29e19a8a6aea06fd3c4cc3990c9977ac8
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
libiberty/ChangeLog
libiberty/rust-demangle.c
libiberty/testsuite/rust-demangle-expected