aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CloneFunction.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-20 19:26:58 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-03-20 19:26:58 +0000
commita3bdc328a5ef1c915e897221aa29d17b0b7cb4d5 (patch)
tree2581e76ab5a372af5197d3b421f44562c5eeca7c /llvm/lib/Transforms/Utils/CloneFunction.cpp
parentd4e07c973c6e02713ab330d6a8a4dd09520d76bd (diff)
downloadllvm-a3bdc328a5ef1c915e897221aa29d17b0b7cb4d5.zip
llvm-a3bdc328a5ef1c915e897221aa29d17b0b7cb4d5.tar.gz
llvm-a3bdc328a5ef1c915e897221aa29d17b0b7cb4d5.tar.bz2
Verifier: Check that !dbg attachments have the right type
A WIP patch makes `DIDescriptor` accessors more strict, which in turn causes the `DebugInfoFinder` to crash on wrongly typed `!dbg` attachments. Catch that error up front in `Verifier::visitInstruction()`. Also remove a test that we "handle" invalid `!dbg` attachments, added back in r99938. We don't want to handle those anymore. Note: I'm *not* recursing and verifying the debug info graph reachable from this node; that work is already done by `verifyDebugInfo()`. llvm-svn: 232834
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneFunction.cpp')
0 files changed, 0 insertions, 0 deletions