diff options
author | Mark Lacey <mark.lacey@apple.com> | 2013-10-30 21:53:58 +0000 |
---|---|---|
committer | Mark Lacey <mark.lacey@apple.com> | 2013-10-30 21:53:58 +0000 |
commit | a8e7df3602cf16d411c55b67bf446c5c873c9bf3 (patch) | |
tree | 8df1e28d9344788cc4328041f68641464f37a716 /clang/lib/CodeGen/CGClass.cpp | |
parent | f32db51c5014e4d27b1a003a00e090fde308fee7 (diff) | |
download | bcm5719-llvm-a8e7df3602cf16d411c55b67bf446c5c873c9bf3.tar.gz bcm5719-llvm-a8e7df3602cf16d411c55b67bf446c5c873c9bf3.zip |
Add CodeGenABITypes.h for use in LLDB.
CodeGenABITypes is a wrapper built on top of CodeGenModule that exposes
some of the functionality of CodeGenTypes (held by CodeGenModule),
specifically methods that determine the LLVM types appropriate for
function argument and return values.
I addition to CodeGenABITypes.h, CGFunctionInfo.h is introduced, and the
definitions of ABIArgInfo, RequiredArgs, and CGFunctionInfo are moved
into this new header from the private headers ABIInfo.h and CGCall.h.
Exposing this functionality is one part of making it possible for LLDB
to determine the actual ABI locations of function arguments and return
values, making it possible for it to determine this for any supported
target without hard-coding ABI knowledge in the LLDB code.
llvm-svn: 193717
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGClass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp index d6907840c94..af8cbbc48c2 100644 --- a/clang/lib/CodeGen/CGClass.cpp +++ b/clang/lib/CodeGen/CGClass.cpp @@ -22,6 +22,7 @@ #include "clang/AST/RecordLayout.h" #include "clang/AST/StmtCXX.h" #include "clang/Basic/TargetBuiltins.h" +#include "clang/CodeGen/CGFunctionInfo.h" #include "clang/Frontend/CodeGenOptions.h" using namespace clang; |