llvm-project/clang/lib
Peter Collingbourne f770683f14 Implement the __builtin_call_with_static_chain GNU extension.
The extension has the following syntax:

  __builtin_call_with_static_chain(Call, Chain)
  where Call must be a function call expression and Chain must be of pointer type

This extension performs a function call Call with a static chain pointer
Chain passed to the callee in a designated register. This is useful for
calling foreign language functions whose ABI uses static chain pointers
(e.g. to implement closures).

Differential Revision: http://reviews.llvm.org/D6332

llvm-svn: 224167
2014-12-12 23:41:25 +00:00
..
ARCMigrate Objective-C SDK modernizer. When modernizing an enum to 2014-12-10 18:25:24 +00:00
AST Fix the issue of mangling of local anonymous unions (Itanium C++ ABI): 2014-12-12 16:17:46 +00:00
ASTMatchers Make the function pointer a template argument instead of a runtime value. 2014-12-01 14:46:14 +00:00
Analysis When checking for uninitialized values, do not confuse "std::move" with every 2014-11-27 01:29:32 +00:00
Basic [modules] When constructing paths relative to a module, strip out /./ directory 2014-12-11 20:50:24 +00:00
CodeGen Implement the __builtin_call_with_static_chain GNU extension. 2014-12-12 23:41:25 +00:00
Driver Add a FIXME for unifying ARM target abi handling. 2014-12-10 22:58:34 +00:00
Edit Edit: Do not extend a removal to include trailing whitespace if we're at the end 2014-09-15 11:47:10 +00:00
Format Don't break string literals in Java and JavaScript. 2014-12-12 13:03:22 +00:00
Frontend Frontend: Canonicalize to native paths when dumping module dependencies 2014-12-12 23:12:27 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers Make sure that vec_perm is listed as a static function in altivec.h. 2014-12-10 00:57:43 +00:00
Index [libclang] Use same USR encoding for 'char' regardless of what the target considers the sign to be. 2014-12-08 09:09:05 +00:00
Lex Do not warn on keyword undef 2014-12-12 06:37:55 +00:00
Parse Parse: Concatenated string literals should be verified in inline asm 2014-12-11 01:00:48 +00:00
Rewrite Trim some includes. NFC. 2014-10-29 22:13:46 +00:00
Sema Implement the __builtin_call_with_static_chain GNU extension. 2014-12-12 23:41:25 +00:00
Serialization [modules] When constructing paths relative to a module, strip out /./ directory 2014-12-11 20:50:24 +00:00
StaticAnalyzer Use nullptr to silence -Wsentinel when self-hosting on Windows 2014-12-01 22:02:27 +00:00
Tooling Make ArgumentsAdjuster an std::function. 2014-12-03 17:53:02 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00