From: David Blaikie Date: Mon, 18 Feb 2013 08:04:16 +0000 (+0000) Subject: Add `unsigned DISubprogram::getFlags() const` for DragonEgg. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e2952f956ab47e5defda2e26cf9a87d928459a57;p=oota-llvm.git Add `unsigned DISubprogram::getFlags() const` for DragonEgg. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175430 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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);