From dc8c3fdcf15a6fff6251a63869de718527c91940 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.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125989 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/DIBuilder.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/llvm/Analysis/DIBuilder.h b/include/llvm/Analysis/DIBuilder.h index 7916934d4a6..bd221344e5f 100644 --- a/include/llvm/Analysis/DIBuilder.h +++ b/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. -- 2.34.1