Displaying 1 result from an estimated 1 matches for "appendmanglednam".
Did you mean:
appendmangledname
[LLVMdev] [PATCH] Output UTF-8-encoded characters as identifier characters into assembly by default.
2012 Apr 02
0
[LLVMdev] [PATCH] Output UTF-8-encoded characters as identifier characters into assembly by default.
....doesAllowPeriodsInName();
+ bool AllowUTF8 = MAI.doesAllowUTF8();
for (unsigned i = 0, e = Str.size(); i != e; ++i)
- if (!isAcceptableChar(Str[i], AllowPeriod))
+ if (!isAcceptableChar(Str[i], AllowPeriod, AllowUTF8))
return true;
return false;
}
@@ -74,8 +76,9 @@ static void appendMangledName(SmallVectorImpl<char> &OutName, StringRef Str,
}
bool AllowPeriod = MAI.doesAllowPeriodsInName();
+ bool AllowUTF8 = MAI.doesAllowUTF8();
for (unsigned i = 0, e = Str.size(); i != e; ++i) {
- if (!isAcceptableChar(Str[i], AllowPeriod))
+ if (!isAcceptableChar(Str[i], Al...