aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-11-17 18:48:57 +0000
committerManman Ren <manman.ren@gmail.com>2013-11-17 18:48:57 +0000
commit9564d643d7b5ec2ea4068d7dadae88f285ae928e (patch)
tree386b290477da793e628366eaeb2d4b8f11265562 /include
parent2b31b8227fb5507c26a8c4724574fc87fb90f482 (diff)
downloadexternal_llvm-9564d643d7b5ec2ea4068d7dadae88f285ae928e.zip
external_llvm-9564d643d7b5ec2ea4068d7dadae88f285ae928e.tar.gz
external_llvm-9564d643d7b5ec2ea4068d7dadae88f285ae928e.tar.bz2
Debug Info Verifier: fix when to find debug info nodes and when to verify them.
We used to collect debug info MDNodes in doInitialization and verify them in doFinalization. That is incorrect since MDNodes can be modified by passes run between doInitialization and doFinalization. To fix the problem, we handle debug info MDNodes that can be reached from a function in runOnFunction (i.e we collect those nodes by calling processDeclare, processValue and processLocation, and then verify them in runOnFunction). We handle debug info MDNodes that can be reached from named metadata in doFinalization. This is in line with how Verifier handles module-level data (they are verified in doFinalization). rdar://15472296 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194974 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions