Skip to content

Commit

Permalink
Add Visual C++ mangling for cent/ucent.
Browse files Browse the repository at this point in the history
The type __int128 is not yet supported by Visual C++ but the mangling
is defined. This can be checked with the undname.exe tool.
  • Loading branch information
redstar committed Jun 28, 2015
1 parent 6071f1d commit 0216391
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cppmangle.c
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,8 @@ class VisualCPPMangler : public Visitor
case Tfloat32: buf.writeByte('M'); break;
case Tint64: buf.writestring("_J"); break;
case Tuns64: buf.writestring("_K"); break;
case Tint128: buf.writestring("_L"); break;
case Tuns128: buf.writestring("_M"); break;
case Tfloat64: buf.writeByte('N'); break;
case Tbool: buf.writestring("_N"); break;
case Tchar: buf.writeByte('D'); break;
Expand Down

0 comments on commit 0216391

Please sign in to comment.