Project

General

Profile

Feature #12310

Add demangle(1) command

Added by Jason King 10 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Now that we have our own native demangling library, it would be useful to have a tool similar to c++filt that utilizes our demangler (but supports all of the languages we support).

#1

Updated by Jason King 8 months ago

For testing, I booted a PI with the change, and ran the demangle command against the output of nm on a clang binary, as well as demangled rust symbols from a debugging session. Both produced the expected output.

#2

Updated by Electric Monk 8 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit d52aae2365749461c362fde5a4c1a26a620cfbd3

commit  d52aae2365749461c362fde5a4c1a26a620cfbd3
Author: Jason King <jason.king@joyent.com>
Date:   2020-03-28T18:09:21.000Z

    12310 Add demangle(1) command
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Reviewed by: Robert Mustacchi <rm@fingolfin.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF