diff options
author | Warren Hunt <whunt@google.com> | 2013-11-01 23:46:51 +0000 |
---|---|---|
committer | Warren Hunt <whunt@google.com> | 2013-11-01 23:46:51 +0000 |
commit | 445d83eb478b680434cbb02855d7269ba005ec3f (patch) | |
tree | 8471231bab84a4cc61061b5a9ba853083718b867 /lldb/scripts/Python/python-wrapper.swig | |
parent | d0789cdffe80cb0fd6b5be7bf3cb1a2db7dc0abb (diff) | |
download | llvm-445d83eb478b680434cbb02855d7269ba005ec3f.zip llvm-445d83eb478b680434cbb02855d7269ba005ec3f.tar.gz llvm-445d83eb478b680434cbb02855d7269ba005ec3f.tar.bz2 |
Wraps lazily generated builtins in an extern "C" context
Differential Revision: http://llvm-reviews.chandlerc.com/D2082
Adds a lang_c LinkageSpecDecl to lazily generated builtins. This enforces correct
behavior for builtins in a variety of cases without special treatment elsewhere within
the compiler (special treatment is removed by the patch). It also allows for C++
overloads of builtin functions, which Microsoft uses in their headers e.g.
_InterlockedExchangeAdd is an extern C builtin for the long type but an inline wrapper
for int type.
llvm-svn: 193896
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions