summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-02-18 08:04:16 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-02-18 08:04:16 +0000
commitc1ae76738417984ab1956fb2666268838ce20463 (patch)
tree4b402e0327d3dcba10f2750427364a853f08f0a1 /llvm
parent15e9c852c085ada70c77913512ebc0e4445532ec (diff)
downloadbcm5719-llvm-c1ae76738417984ab1956fb2666268838ce20463.tar.gz
bcm5719-llvm-c1ae76738417984ab1956fb2666268838ce20463.zip
Add `unsigned DISubprogram::getFlags() const` for DragonEgg.
llvm-svn: 175430
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/DebugInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/DebugInfo.h b/llvm/include/llvm/DebugInfo.h
index e77c86e6633..4fc90b4f6df 100644
--- a/llvm/include/llvm/DebugInfo.h
+++ b/llvm/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);
OpenPOWER on IntegriCloud