forked from OSchip/llvm-project
parent
e4b48c635c
commit
abf5553ec7
|
@ -294,9 +294,7 @@ TEST_F(IRBuilderTest, DIBuilder) {
|
||||||
auto File = DIB.createFile("F.CBL", "/");
|
auto File = DIB.createFile("F.CBL", "/");
|
||||||
auto CU = DIB.createCompileUnit(dwarf::DW_LANG_Cobol74, "F.CBL", "/",
|
auto CU = DIB.createCompileUnit(dwarf::DW_LANG_Cobol74, "F.CBL", "/",
|
||||||
"llvm-cobol74", true, "", 0);
|
"llvm-cobol74", true, "", 0);
|
||||||
auto Type =
|
auto Type = DIB.createSubroutineType(File, DIB.getOrCreateTypeArray(None));
|
||||||
DIB.createSubroutineType(File,
|
|
||||||
DIB.getOrCreateTypeArray(ArrayRef<Metadata*>()));
|
|
||||||
auto SP = DIB.createFunction(CU, "foo", "", File, 1, Type,
|
auto SP = DIB.createFunction(CU, "foo", "", File, 1, Type,
|
||||||
false, true, 1, 0, true, F);
|
false, true, 1, 0, true, F);
|
||||||
EXPECT_TRUE(SP.Verify());
|
EXPECT_TRUE(SP.Verify());
|
||||||
|
|
Loading…
Reference in New Issue