From 0555fd38b3220308dcf996b3af5b28cf66fa31b0 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 18 Feb 2011 23:28:53 +0000 Subject: [PATCH] Provide enums to build complex address calucation expressions. (This is infact direct copy from DIFactory, which is disappearing soon.) llvm-svn: 125989 --- llvm/include/llvm/Analysis/DIBuilder.h | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/include/llvm/Analysis/DIBuilder.h b/llvm/include/llvm/Analysis/DIBuilder.h index 7916934d4a6d..bd221344e5fa 100644 --- a/llvm/include/llvm/Analysis/DIBuilder.h +++ b/llvm/include/llvm/Analysis/DIBuilder.h @@ -56,6 +56,7 @@ namespace llvm { public: explicit DIBuilder(Module &M); const MDNode *getCU() { return TheCU; } + enum ComplexAddrKind { OpPlus=1, OpDeref }; /// CreateCompileUnit - A CompileUnit provides an anchor for all debugging /// information generated during this instance of compilation.