aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorAlvin Wong <alvin@alvinhc.com>2023-02-15 06:38:52 +0800
committerAlvin Wong <alvin@alvinhc.com>2023-02-15 19:07:05 +0800
commite117fd28d525ead14b809da3a9b5ef22710ca351 (patch)
treed53b2d4ed3c91d232363a8c815520902eafecbcf /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parent14fcdd7f9d7b3973661efc5a426da18e077155bf (diff)
downloadllvm-e117fd28d525ead14b809da3a9b5ef22710ca351.zip
llvm-e117fd28d525ead14b809da3a9b5ef22710ca351.tar.gz
llvm-e117fd28d525ead14b809da3a9b5ef22710ca351.tar.bz2
[Symbolize][MinGW] Support demangling i386 call-conv-decorated C++ names
On i386 Windows, after C++ names have been Itanium-mangled, the C name mangling specific to its call convention may also be applied on top. This change teaches symbolizer to be able to demangle this type of mangled names. As part of this change, `demanglePE32ExternCFunc` has also been modified to fix unwanted stripping for vectorcall names when the demangled name is supposed to contain a leading `_`. Notice that the vectorcall mangling does not add either an `_` or `@` prefix. The old code always tries to strip the prefix first, which for Itanium mangled names in vectorcall, the leading underscore of the Itanium name gets stripped instead and breaks the Itanium demangler. Differential Revision: https://reviews.llvm.org/D144049
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions