diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2013-02-22 19:24:35 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-02-22 19:24:35 +0000 |
| commit | f32b3f2c55ece0c7ed62035604de04620e0cb2b5 (patch) | |
| tree | 3ab39a7d170e22e1f115d272280e64a0cf3f24cc /clang/docs | |
| parent | 7b57621fb34ea56bd99e765941279a6450cbc8ef (diff) | |
| download | bcm5719-llvm-f32b3f2c55ece0c7ed62035604de04620e0cb2b5.tar.gz bcm5719-llvm-f32b3f2c55ece0c7ed62035604de04620e0cb2b5.zip | |
Add support for coldcc to clang
llvm-svn: 175912
Diffstat (limited to 'clang/docs')
| -rw-r--r-- | clang/docs/LanguageExtensions.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst index 014e2645d86..40459a445ab 100644 --- a/clang/docs/LanguageExtensions.rst +++ b/clang/docs/LanguageExtensions.rst @@ -1970,3 +1970,12 @@ Clang implements two kinds of checks with this attribute. In this case Clang does not warn because the format string ``s`` and the corresponding arguments are annotated. If the arguments are incorrect, the caller of ``foo`` will receive a warning. + +LLVM-Specific Calling Conventions +================================= + +Clang supports `LLVM's coldcc calling convention +<http://llvm.org/docs/LangRef.html#calling-conventions>`_ via the ``coldcc`` +GNU-style attribute, or the ``clang::coldcc`` C++11 attribute. However, +this calling convention is not guaranteed to be ABI compatible between +different versions of the compiler. |

