aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ErrorHandling.cpp
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2021-10-15 20:41:35 +0200
committerTomasz Miąsko <tomasz.miasko@gmail.com>2021-10-16 13:32:16 +0200
commit41a6fc8438f306aa562908027de64061353778ce (patch)
tree920a0d0e5c1babe414780c5f89f989017e2db769 /llvm/lib/Support/ErrorHandling.cpp
parent4d7c7d87e46e3589594aa789c543e2a8b667d3f2 (diff)
downloadllvm-41a6fc8438f306aa562908027de64061353778ce.zip
llvm-41a6fc8438f306aa562908027de64061353778ce.tar.gz
llvm-41a6fc8438f306aa562908027de64061353778ce.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
0 files changed, 0 insertions, 0 deletions