Support dlang demangle in cxxfilter

Message ID CABOHX+fqoKdva__60GLuYB0K=aTdVTqvABLLBAg2V_0LO8vyBQ@mail.gmail.com
State New, archived
Headers

Commit Message

Iain Buclaw Oct. 11, 2014, 9:49 a.m. UTC
  Hi,

This is a trivial patch to add dlang support in c++filt following the
sync with upstream libiberty.

-- Iain

binutils/ChangeLog
2014-10-11  Iain Buclaw  <ibuclaw@gdcproject.org>

    * cxxfilt.c (main): Add case for dlang_demangling style.

---
  

Comments

Iain Buclaw Oct. 24, 2014, 3:22 p.m. UTC | #1
On 11 October 2014 10:49, Iain Buclaw <ibuclaw@gdcproject.org> wrote:
> Hi,
>
> This is a trivial patch to add dlang support in c++filt following the
> sync with upstream libiberty.
>


Forgot about this until I stumbled upon it, so I thought I might ping it.
  
Nick Clifton Oct. 29, 2014, 5:07 p.m. UTC | #2
Hi Iain,

> binutils/ChangeLog
> 2014-10-11  Iain Buclaw  <ibuclaw@gdcproject.org>
>
>      * cxxfilt.c (main): Add case for dlang_demangling style.

Approved - please apply.

Cheers
   Nick
  

Patch

diff --git a/binutils/cxxfilt.c b/binutils/cxxfilt.c
index 157ebe0..03c4d0c 100644
--- a/binutils/cxxfilt.c
+++ b/binutils/cxxfilt.c
@@ -239,6 +239,7 @@  main (int argc, char **argv)
     case edg_demangling:
     case gnat_demangling:
     case gnu_v3_demangling:
+    case dlang_demangling:
     case auto_demangling:
       valid_symbols = standard_symbol_characters ();
       break;