diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-17 00:16:35 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-17 00:16:35 +0000 |
commit | 79f8d11d5af9d75154177352dbb03993246bf191 (patch) | |
tree | 08923f5464bc40d4061594e7cbe69a084738ca88 /lldb/scripts/Python/interface/SBModuleSpec.i | |
parent | de0a0f310080a5d36c3692136e51ed18f8456df2 (diff) | |
download | bcm5719-llvm-79f8d11d5af9d75154177352dbb03993246bf191.tar.gz bcm5719-llvm-79f8d11d5af9d75154177352dbb03993246bf191.zip |
AsmWriter: Assert on unresolved metadata nodes
Assert that `MDNode::isResolved()`. While in theory the `Verifier`
should catch this, it doesn't descend into all debug info, and the
`DebugInfoVerifier` doesn't call into the `Verifier`. Besides, this
helps to catch bugs when `-disable-verify=true`.
Note that I haven't come across a place where this fails with clang
today, so no testcase.
llvm-svn: 232442
Diffstat (limited to 'lldb/scripts/Python/interface/SBModuleSpec.i')
0 files changed, 0 insertions, 0 deletions