aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/DebugInfo.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-03-26 21:59:17 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-03-26 21:59:17 +0000
commitd072a166d6c77ebcfb4fde796e0784a56020b9a4 (patch)
treeb13612a708002246bcff2f90cba4cff92cb73530 /include/llvm/DebugInfo.h
parent1a0034c74a0a8562199f9e6a00feb0a80619b886 (diff)
downloadexternal_llvm-d072a166d6c77ebcfb4fde796e0784a56020b9a4.zip
external_llvm-d072a166d6c77ebcfb4fde796e0784a56020b9a4.tar.gz
external_llvm-d072a166d6c77ebcfb4fde796e0784a56020b9a4.tar.bz2
Debug Info: Provide a means to update the members of a composite type
This will be used to factor out some uses of magic number operand offsets inside Clang where these fields were updated in an effort to resolve forward declarations/circular references. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178078 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DebugInfo.h')
-rw-r--r--include/llvm/DebugInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h
index 3a2aff3..e30713e 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -354,6 +354,7 @@ namespace llvm {
}
DIArray getTypeArray() const { return getFieldAs<DIArray>(10); }
+ void setTypeArray(DIArray Elements, DIArray TParams = DIArray());
unsigned getRunTimeLang() const { return getUnsignedField(11); }
DICompositeType getContainingType() const {
return getFieldAs<DICompositeType>(12);