diff options
author | Manman Ren <mren@apple.com> | 2013-07-19 00:31:03 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2013-07-19 00:31:03 +0000 |
commit | cd26257c85ba52d83b3febcef5c40c5153836062 (patch) | |
tree | 5dbd1c12a02dafa666fa40681fd1ca14598929c6 /include | |
parent | 4e3898056e1aaa8eaaf829cda578651667878843 (diff) | |
download | llvm-cd26257c85ba52d83b3febcef5c40c5153836062.tar.gz llvm-cd26257c85ba52d83b3febcef5c40c5153836062.tar.bz2 llvm-cd26257c85ba52d83b3febcef5c40c5153836062.tar.xz |
Debug Info: enable verifying by default and disable testing cases that fail.
1> Use DebugInfoFinder to find debug info MDNodes.
2> Add disable-debug-info-verifier to disable verifying debug info.
3> Disable verifying for testing cases that fail (will update the testing cases
later on).
4> MDNodes generated by clang can have empty filename for TAG_inheritance and
TAG_friend, so DIType::Verify is modified accordingly.
Note that DebugInfoFinder does not list all debug info MDNode.
For example, clang can generate:
metadata !{i32 786468}, which will fail to verify.
This MDNode is used by debug info but not included in DebugInfoFinder.
This MDNode is generated as a temporary node in DIBuilder::createFunction
Value *TElts[] = { GetTagConstant(VMContext, DW_TAG_base_type) };
MDNode::getTemporary(VMContext, TElts)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions