summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorMark Lacey <mark.lacey@apple.com>2013-10-30 21:53:58 +0000
committerMark Lacey <mark.lacey@apple.com>2013-10-30 21:53:58 +0000
commita8e7df3602cf16d411c55b67bf446c5c873c9bf3 (patch)
tree8df1e28d9344788cc4328041f68641464f37a716 /clang/lib/CodeGen/CGClass.cpp
parentf32db51c5014e4d27b1a003a00e090fde308fee7 (diff)
downloadbcm5719-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.cpp1
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;
OpenPOWER on IntegriCloud