llvm/unittests/IR
Keno Fischer 508bcbefca [Verifier] Check parentage of GVs in dbg metadata
Summary:
Before this the Verifier didn't complain if the GlobalVariable
referenced from a DIGlobalVariable was not in fact in the correct
module (it would crash while writing bitcode though). Fix this by
always checking parantage of GlobalValues while walking constant
expressions and changing the DIGlobalVariable visitor to also
visit the constant it contains.

Reviewers: rafael
Differential Revision: http://reviews.llvm.org/D16059

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257825 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-14 22:42:02 +00:00
..
AsmWriterTest.cpp Fix crash when printing instructions that have a metadata attached but no parent. 2016-01-07 20:14:30 +00:00
AttributesTest.cpp
CMakeLists.txt Fix crash when printing instructions that have a metadata attached but no parent. 2016-01-07 20:14:30 +00:00
ConstantRangeTest.cpp [IR] Add a makeNoWrapRegion method to ConstantRange 2015-10-22 03:12:57 +00:00
ConstantsTest.cpp Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
DebugInfoTest.cpp IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
DominatorTreeTest.cpp unittests: Remove implicit ilist iterator conversions, NFC 2015-10-20 18:30:20 +00:00
InstructionsTest.cpp InstructionsTest.cpp: Fix a warning. [-Wsign-compare] 2016-01-14 09:21:49 +00:00
IRBuilderTest.cpp function names start with a lower case letter ; NFC 2016-01-12 18:03:37 +00:00
LegacyPassManagerTest.cpp unittests: Remove implicit ilist iterator conversions, NFC 2015-10-20 18:30:20 +00:00
Makefile [PM/AA] Remove the last relics of the separate IPA library from LLVM, 2015-08-18 17:51:53 +00:00
MDBuilderTest.cpp
MetadataTest.cpp Add unittest for new CanReplace flag on MDNodes 2016-01-06 15:02:40 +00:00
PassManagerTest.cpp
PatternMatch.cpp
TypeBuilderTest.cpp
TypesTest.cpp Fix several accidental DOS line endings in source files 2016-01-03 17:22:03 +00:00
UserTest.cpp [Function] Properly remove use when clearing personality 2015-12-23 18:27:23 +00:00
UseTest.cpp
ValueHandleTest.cpp -Wdeprecated-clean: Fix cases of violating the rule of 5 in ways that are deprecated in C++11 2015-08-03 22:30:24 +00:00
ValueMapTest.cpp
ValueTest.cpp unittests: Remove implicit ilist iterator conversions, NFC 2015-10-20 18:30:20 +00:00
VerifierTest.cpp [Verifier] Check parentage of GVs in dbg metadata 2016-01-14 22:42:02 +00:00
WaymarkTest.cpp