Skip to content

Commit b88627f

Browse files
committed
Force itanium mangling
1 parent e0f3a52 commit b88627f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libclc/utils/libclc-remangler/LibclcRemangler.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ class Remangler {
178178
Remangler(ASTContext *ContextAST, const Node *Root,
179179
SmallDenseMap<const char *, const char *> TypeReplacements)
180180
: ContextAST(ContextAST), Root(Root), TypeReplacements(TypeReplacements) {
181-
MangleContext.reset(ContextAST->createMangleContext());
181+
MangleContext.reset(ItaniumMangleContext::create(
182+
*ContextAST, ContextAST->getDiagnostics()));
182183
}
183184

184185
bool hasFailed() { return Failed; }

0 commit comments

Comments
 (0)