diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-02-18 08:04:16 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-02-18 08:04:16 +0000 |
commit | e2952f956ab47e5defda2e26cf9a87d928459a57 (patch) | |
tree | b89effad1bb14db4ed08ca55d0f3c7aad1b42c8a | |
parent | 4293f4e4d935aa620ea2615323cf7ad016f6e346 (diff) | |
download | external_llvm-e2952f956ab47e5defda2e26cf9a87d928459a57.zip external_llvm-e2952f956ab47e5defda2e26cf9a87d928459a57.tar.gz external_llvm-e2952f956ab47e5defda2e26cf9a87d928459a57.tar.bz2 |
Add `unsigned DISubprogram::getFlags() const` for DragonEgg.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175430 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/DebugInfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index e77c86e..4fc90b4 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -522,6 +522,10 @@ namespace llvm { return getFieldAs<DICompositeType>(13); } + unsigned getFlags() const { + return getUnsignedField(14); + } + unsigned isArtificial() const { if (getVersion() <= llvm::LLVMDebugVersion8) return getUnsignedField(14); |