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/source/Interpreter/ScriptInterpreterPython.cpp | |
| parent | d0789cdffe80cb0fd6b5be7bf3cb1a2db7dc0abb (diff) | |
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/source/Interpreter/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
