[Lldb-commits] [PATCH] D71237: [FormatEntity] Add mangled function name support

2019-12-12 Thread Med Ismail Bennani via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG7eaae939b9bb: [FormatEntity] Add mangled function name support (authored by mib). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D71237/new/ https://reviews.l

[Lldb-commits] [PATCH] D71237: [FormatEntity] Add mangled function name support

2019-12-11 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere accepted this revision. JDevlieghere added a comment. This revision is now accepted and ready to land. LGTM! CHANGES SINCE LAST ACTION https://reviews.llvm.org/D71237/new/ https://reviews.llvm.org/D71237 ___ lldb-commits mailing list

[Lldb-commits] [PATCH] D71237: [FormatEntity] Add mangled function name support

2019-12-11 Thread Med Ismail Bennani via Phabricator via lldb-commits
mib updated this revision to Diff 233473. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D71237/new/ https://reviews.llvm.org/D71237 Files: lldb/docs/use/formatting.rst lldb/include/lldb/Core/FormatEntity.h lldb/source/Core/FormatEntity.cpp lldb/test/Shell/Settings/Inputs/main.cpp

[Lldb-commits] [PATCH] D71237: [FormatEntity] Add mangled function name support

2019-12-11 Thread Med Ismail Bennani via Phabricator via lldb-commits
mib updated this revision to Diff 233465. mib added a comment. Run clang-format. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D71237/new/ https://reviews.llvm.org/D71237 Files: lldb/docs/use/formatting.rst lldb/include/lldb/Core/FormatEntity.h lldb/source/Core/FormatEntity.cpp

[Lldb-commits] [PATCH] D71237: [FormatEntity] Add mangled function name support

2019-12-11 Thread Med Ismail Bennani via Phabricator via lldb-commits
mib updated this revision to Diff 233464. mib added a comment. Simplifying the test. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D71237/new/ https://reviews.llvm.org/D71237 Files: lldb/docs/use/formatting.rst lldb/include/lldb/Core/FormatEnti

[Lldb-commits] [PATCH] D71237: [FormatEntity] Add mangled function name support

2019-12-11 Thread Med Ismail Bennani via Phabricator via lldb-commits
mib updated this revision to Diff 233463. mib marked 5 inline comments as done. mib added a comment. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D71237/new/ https://reviews.llvm.org/D71237 Files: lldb/docs/use/formatting.rst lldb/include/lldb/C

[Lldb-commits] [PATCH] D71237: [FormatEntity] Add mangled function name support

2019-12-11 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere added inline comments. Comment at: lldb/source/Core/FormatEntity.cpp:1763 + return false; +else { + s.PutCString(name); No else after return Comment at: lldb/source/Core/FormatEntity.cpp:1768 +Block *inline_bl

[Lldb-commits] [PATCH] D71237: [FormatEntity] Add mangled function name support

2019-12-10 Thread Med Ismail Bennani via Phabricator via lldb-commits
mib updated this revision to Diff 233189. mib marked 4 inline comments as done. mib added a comment. Remove unnecessary Language FunctionNameRepresention changes. Rewrote test file. Refactored frame-format FormatEntity. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://r

[Lldb-commits] [PATCH] D71237: [FormatEntity] Add mangled function name support

2019-12-10 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. No opinion on the code, but I think the test needs to be cleaned up _a lot_. Comment at: lldb/test/Shell/Settings/Inputs/main.cpp:1 +//===-- main.cpp *- C++ -*-===// +// This file is about

[Lldb-commits] [PATCH] D71237: [FormatEntity] Add mangled function name support

2019-12-09 Thread Jim Ingham via Phabricator via lldb-commits
jingham added a comment. If you make the frame format such that it is easy to pull the mangled & demangled names out of the format output (e.g. ###${function.mangled-name}### ???${function.name}) then you could check that the two names are different, and for extra credit you could use "lang c++

[Lldb-commits] [PATCH] D71237: [FormatEntity] Add mangled function name support

2019-12-09 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere added inline comments. Comment at: lldb/include/lldb/Target/Language.h:146 +eNameWithNoArgs, +eMangledName }; `eNameMangled`? Comment at: lldb/source/Core/FormatEntity.cpp:1754 +StreamString ss; +if (sc->functio

[Lldb-commits] [PATCH] D71237: [FormatEntity] Add mangled function name support

2019-12-09 Thread Med Ismail Bennani via Phabricator via lldb-commits
mib updated this revision to Diff 232976. mib added a comment. Mark test as unsupported for windows. Run clang-format. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D71237/new/ https://reviews.llvm.org/D71237 Files: lldb/docs/use/formatting.rst

[Lldb-commits] [PATCH] D71237: [FormatEntity] Add mangled function name support

2019-12-09 Thread Alex Langford via Phabricator via lldb-commits
xiaobai added inline comments. Comment at: lldb/test/Shell/Settings/Inputs/main.cpp:95 + +//virtual +~C() nit: comment unneeded. Comment at: lldb/test/Shell/Settings/TestFrameFormatMangling.test:9 +frame info +# CHECK: frame #0: {{.*}}_

[Lldb-commits] [PATCH] D71237: [FormatEntity] Add mangled function name support

2019-12-09 Thread Jason Molenda via Phabricator via lldb-commits
jasonmolenda marked an inline comment as done. jasonmolenda added inline comments. Comment at: lldb/test/Shell/Settings/TestFrameFormatMangling.test:9 +frame info +# CHECK: frame #0: {{.*}}_ZN1CC2Eiii +c Is this mangled name going to be the same on windows? Rep

[Lldb-commits] [PATCH] D71237: [FormatEntity] Add mangled function name support

2019-12-09 Thread Med Ismail Bennani via Phabricator via lldb-commits
mib created this revision. Herald added a project: LLDB. mib added a reviewer: LLDB. Add `function.mangled-name` key for FormatEntity to show the mangled function names in backtraces. rdar://54088244 Signed-off-by: Med Ismail Bennani Repository: rG LLVM Github Monorepo https://reviews.llvm