[llvm] r338747 - [itanium demangler] Support dot suffixes on block invocation functions
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 2 11:05:13 PDT 2018
Test?
On Thu, Aug 2, 2018 at 10:45 AM Erik Pilkington via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
>
> Author: epilk
> Date: Thu Aug 2 10:45:01 2018
> New Revision: 338747
>
> URL: http://llvm.org/viewvc/llvm-project?rev=338747&view=rev
> Log:
> [itanium demangler] Support dot suffixes on block invocation functions
>
> rdar://32378759
>
> Modified:
> llvm/trunk/lib/Demangle/ItaniumDemangle.cpp
>
> Modified: llvm/trunk/lib/Demangle/ItaniumDemangle.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Demangle/ItaniumDemangle.cpp?rev=338747&r1=338746&r2=338747&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Demangle/ItaniumDemangle.cpp (original)
> +++ llvm/trunk/lib/Demangle/ItaniumDemangle.cpp Thu Aug 2 10:45:01 2018
> @@ -4924,6 +4924,8 @@ Node *Db::parse() {
> bool RequireNumber = consumeIf('_');
> if (parseNumber().empty() && RequireNumber)
> return nullptr;
> + if (look() == '.')
> + First = Last;
> if (numLeft() != 0)
> return nullptr;
> return make<SpecialName>("invocation function for block in ", Encoding);
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
--
Davide
"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare
More information about the llvm-commits
mailing list