Manman Ren
cc4e4d80fe
Debug Info Verifier: enable verification of DICompileUnit.
...
We used to call Verify before adding DICompileUnit to the list, and now we
remove the check and always add DICompileUnit to the list in DebugInfoFinder,
so we can verify them later on.
llvm-svn: 187237
2013-07-26 20:04:30 +00:00
Manman Ren
5873770238
Debug Info: improve the verifier to check field types.
...
Make sure the context field of DIType is MDNode.
Fix testing cases to make them pass the verifier.
llvm-svn: 187150
2013-07-25 19:33:30 +00:00
Manman Ren
8f1a3cf4c3
Debug Info: improve the Finder.
...
Improve the Finder to handle context of a DIVariable.
If Scope is a DICompileUnit, add it to the list of CUs.
llvm-svn: 187003
2013-07-23 23:10:00 +00:00
Devang Patel
d19e302f77
Fix llc crash on invalid input.
...
llvm-svn: 98369
2010-03-12 19:18:30 +00:00