summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-09-21 16:00:03 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-09-21 16:00:03 +0000
commit28b4afc10396abaffea9035cfb752f9858f04846 (patch)
tree17590069798cc17f9cd5d3fa438192473c3a3c64 /include
parentf16580665589584d3249d8a3c4dd4ea90dfb9e47 (diff)
downloadllvm-28b4afc10396abaffea9035cfb752f9858f04846.tar.gz
llvm-28b4afc10396abaffea9035cfb752f9858f04846.tar.bz2
llvm-28b4afc10396abaffea9035cfb752f9858f04846.tar.xz
Make CreateComplexVariable independent of SmallVector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114439 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/DebugInfo.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index 2d1418da64..d01178fe3f 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/include/llvm/Analysis/DebugInfo.h
@@ -726,10 +726,9 @@ namespace llvm {
/// CreateComplexVariable - Create a new descriptor for the specified
/// variable which has a complex address expression for its address.
DIVariable CreateComplexVariable(unsigned Tag, DIDescriptor Context,
- const std::string &Name,
- DIFile F, unsigned LineNo,
- DIType Ty,
- SmallVector<Value *, 9> &addr);
+ StringRef Name, DIFile F, unsigned LineNo,
+ DIType Ty, Value *const *Addr,
+ unsigned NumAddr);
/// CreateLexicalBlock - This creates a descriptor for a lexical block
/// with the specified parent context.