summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DebugInfo.cpp
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2014-03-03 18:53:17 +0000
committerDiego Novillo <dnovillo@google.com>2014-03-03 18:53:17 +0000
commit282450d94c9e059fc08d80d8e93eb994ce3c77fc (patch)
tree5c5b3e29f060899b8839cf6de7bb88e5ff1673cc /llvm/lib/IR/DebugInfo.cpp
parent1863582863867a5cb888e7a9f35f414df9db7958 (diff)
downloadbcm5719-llvm-282450d94c9e059fc08d80d8e93eb994ce3c77fc.tar.gz
bcm5719-llvm-282450d94c9e059fc08d80d8e93eb994ce3c77fc.zip
Add DWARF discriminator support to DILexicalBlocks.
This adds support for emitting discriminators from DILexicalBlocks. llvm-svn: 202736
Diffstat (limited to 'llvm/lib/IR/DebugInfo.cpp')
-rw-r--r--llvm/lib/IR/DebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp
index 506f2dd926e..749e0b5057a 100644
--- a/llvm/lib/IR/DebugInfo.cpp
+++ b/llvm/lib/IR/DebugInfo.cpp
@@ -600,7 +600,7 @@ bool DISubrange::Verify() const {
/// \brief Verify that the lexical block descriptor is well formed.
bool DILexicalBlock::Verify() const {
- return isLexicalBlock() && DbgNode->getNumOperands() == 6;
+ return isLexicalBlock() && DbgNode->getNumOperands() == 7;
}
/// \brief Verify that the file-scoped lexical block descriptor is well formed.
OpenPOWER on IntegriCloud