Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [mingw] Don't mangle thiscall like fastcall etc | Reid Kleckner | 2018-12-21 | 1 | -4/+13 |
| | | | | | | | | | | | | | | | GCC does not mangle it when it is not explicit in the source. The mangler as currently written cannot differentiate between explicit and implicit calling conventions, so we can't match GCC. Explicit thiscall conventions are rare, so mangle as if the convention was implicit to be as ABI compatible as possible. Also fixes some tests using %itanium_abi_triple in some configurations as a side effect. Fixes PR40107. llvm-svn: 349872 | ||||
* | Mangle calling conventions into function pointer types where GCC does | Reid Kleckner | 2018-12-14 | 1 | -0/+61 |
Summary: GCC 5.1 began mangling these Windows calling conventions into function types, since they can be used for overloading. They've always been mangled in the MS ABI, but they are new to the Itanium mangler. Note that the calling convention doesn't appear as part of the main declaration, it only appears on function parameter types and other types. Fixes PR39860 Reviewers: rjmccall, efriedma Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D55672 llvm-svn: 349212 |