[lldb] Add -m option to 'target modules dump symtab' to disable demangling
authorRaphael Isemann <teemperor@gmail.com>
Thu, 7 Nov 2019 14:47:01 +0000 (15:47 +0100)
committerRaphael Isemann <teemperor@gmail.com>
Thu, 7 Nov 2019 14:47:01 +0000 (15:47 +0100)
commit87bc320b510e91a1a71aa8a154c585db65579628
treec121e533a5190be9e7a1413ff542c2d5b4431784
parente58985a5ec355095b5fbdfb659de181efddef2fd
[lldb] Add -m option to 'target modules dump symtab' to disable demangling

Summary: This option was added downstream in swift-lldb. This upstreams this option as it seems useful and also adds the missing tests.

Reviewers: #lldb, kwk, labath

Reviewed By: kwk, labath

Subscribers: labath, kwk, abidh, JDevlieghere, lldb-commits

Tags: #lldb, #upstreaming_lldb_s_downstream_patches

Differential Revision: https://reviews.llvm.org/D69944
lldb/include/lldb/Symbol/Symbol.h
lldb/include/lldb/Symbol/Symtab.h
lldb/packages/Python/lldbsuite/test/commands/target/dump-symtab-demangle/TestDumpSymtabDemangle.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/commands/target/dump-symtab-demangle/a.yaml [new file with mode: 0644]
lldb/source/Commands/CommandObjectTarget.cpp
lldb/source/Commands/Options.td
lldb/source/Symbol/Symbol.cpp
lldb/source/Symbol/Symtab.cpp