From e2952f956ab47e5defda2e26cf9a87d928459a57 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Mon, 18 Feb 2013 08:04:16 +0000 Subject: [PATCH] Add `unsigned DISubprogram::getFlags() const` for DragonEgg. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175430 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/DebugInfo.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index e77c86e6633..4fc90b4f6df 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -522,6 +522,10 @@ namespace llvm { return getFieldAs(13); } + unsigned getFlags() const { + return getUnsignedField(14); + } + unsigned isArtificial() const { if (getVersion() <= llvm::LLVMDebugVersion8) return getUnsignedField(14);