[all-commits] [llvm/llvm-project] 41a6fc: [Demangle] Extract nonMicrosoftDemangle from llvm:...
tmiasko via All-commits
all-commits at lists.llvm.org
Sat Oct 16 04:35:28 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 41a6fc8438f306aa562908027de64061353778ce
https://github.com/llvm/llvm-project/commit/41a6fc8438f306aa562908027de64061353778ce
Author: Tomasz Miąsko <tomasz.miasko at gmail.com>
Date: 2021-10-16 (Sat, 16 Oct 2021)
Changed paths:
M llvm/include/llvm/Demangle/Demangle.h
M llvm/lib/Demangle/Demangle.cpp
M llvm/unittests/Demangle/DemangleTest.cpp
Log Message:
-----------
[Demangle] Extract nonMicrosoftDemangle from llvm::demangle
Introduce a new demangling function that supports symbols using Itanium
mangling and Rust v0 mangling, and is expected in the near future to
include support for D mangling as well.
Unlike llvm::demangle, the function does not accept extra underscore
decoration. The callers generally know exactly when symbols should
include the extra decoration and so they should be responsible for
stripping it.
Functionally the only intended change is to allow demangling Rust
symbols with an extra underscore decoration through llvm::demangle,
which matches the existing behaviour for Itanium symbols.
Reviewed By: dblaikie, jhenderson
Part of https://reviews.llvm.org/D110664
Commit: a3813438ae1c2d688f7bccc4501a172f17b7a505
https://github.com/llvm/llvm-project/commit/a3813438ae1c2d688f7bccc4501a172f17b7a505
Author: Tomasz Miąsko <tomasz.miasko at gmail.com>
Date: 2021-10-16 (Sat, 16 Oct 2021)
Changed paths:
M llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp
Log Message:
-----------
[llvm-cxxfilt] Use nonMicrosoftDemangle for demangling NFC
Reviewed By: dblaikie, jhenderson
Part of https://reviews.llvm.org/D110664
Commit: 48ce523a26b7a5a3dc4cff616c93ed951244746b
https://github.com/llvm/llvm-project/commit/48ce523a26b7a5a3dc4cff616c93ed951244746b
Author: Tomasz Miąsko <tomasz.miasko at gmail.com>
Date: 2021-10-16 (Sat, 16 Oct 2021)
Changed paths:
M llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
M llvm/test/DebugInfo/symbolize-demangling.s
Log Message:
-----------
[Symbolize] Demangle Rust symbols
Add support for demangling Rust v0 symbols to LLVM symbolizer by reusing
nonMicrosoftDemangle which supports both Itanium and Rust mangling.
Reviewed By: dblaikie, jhenderson
Part of https://reviews.llvm.org/D110664
Compare: https://github.com/llvm/llvm-project/compare/4d7c7d87e46e...48ce523a26b7
More information about the All-commits
mailing list