mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
DebugInfo: Remove DIDescriptor::Verify()
Remove `DIDescriptor::Verify()` and the `Verify()`s from subclasses. They had already been gutted, and just did an `isa<>` check. In a couple of cases I've temporarily dropped the check entirely, but subsequent commits are going to disallow conversions to the `DIDescriptor`s directly from `MDNode`, so the checks will come back in another form soon enough. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234201 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -296,9 +296,7 @@ TEST_F(IRBuilderTest, DIBuilder) {
|
||||
auto CU = DIB.createCompileUnit(dwarf::DW_LANG_Cobol74, "F.CBL", "/",
|
||||
"llvm-cobol74", true, "", 0);
|
||||
auto Type = DIB.createSubroutineType(File, DIB.getOrCreateTypeArray(None));
|
||||
auto SP = DIB.createFunction(CU, "foo", "", File, 1, Type,
|
||||
false, true, 1, 0, true, F);
|
||||
EXPECT_TRUE(SP.Verify());
|
||||
DIB.createFunction(CU, "foo", "", File, 1, Type, false, true, 1, 0, true, F);
|
||||
AllocaInst *I = Builder.CreateAlloca(Builder.getInt8Ty());
|
||||
auto BarSP = DIB.createFunction(CU, "bar", "", File, 1, Type, false, true, 1,
|
||||
0, true, nullptr);
|
||||
|
Reference in New Issue
Block a user