[PATCH] D45738: Add Microsoft mangling for _Float16, similar to technique used for _Complex

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 17 14:24:06 PDT 2018


erichkeane added a comment.

FWIW, this demangles on both demangler.com and undname as "void __cdecl Float16::f(struct __clang::_Float16)", which seems like the right thing, since the "Complex" above demangles to: "void __cdecl Complex::f(struct __clang::_Complex<int>)"

I also note (since upon first reading) that the "Complex::" and "Float16::" in the demanglings are the namespaces, which are confusingly very similar to the actual names :)

This patch should be all that is required to get _Float16 to work on Windows.


Repository:
  rL LLVM

https://reviews.llvm.org/D45738





More information about the cfe-commits mailing list