summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-11-21 00:35:25 +0000
committerAdrian Prantl <aprantl@apple.com>2014-11-21 00:35:25 +0000
commit88eec39460db6bc00dcccaed44dbaa50c817e2fc (patch)
tree80e8870e63f4409051c6ed93f407dfc99e917085 /clang/lib/Serialization/ModuleManager.cpp
parentb5b4dd81ba02bce1a9818841c5f33d876423e04f (diff)
downloadbcm5719-llvm-88eec39460db6bc00dcccaed44dbaa50c817e2fc.tar.gz
bcm5719-llvm-88eec39460db6bc00dcccaed44dbaa50c817e2fc.zip
Debug info for blocks: Fix a bug caught by the Verifier.
When emitting nested block definitions, the insert-at-point variant of DIBuilder::insertDeclare() could be called with the insertion point set to the end-of-BasicBlock sentinel, causing the parent pointer of the CallInst to be set to the intentionally bogus value of the sentinel. Fixed by conditionally invoking the correct version of insertDeclare(). rdar://problem/19034882 llvm-svn: 222487
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud