debuginfo-tests: Fix check-gdb-mlir-support build after MLIR API change in a4bb667d83

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D98613
This commit is contained in:
Nathan Chancellor 2021-03-15 05:09:52 +00:00 committed by Mehdi Amini
parent 91a6ad5ad8
commit 633549f73e

View File

@ -24,11 +24,11 @@ mlir::Type TupleType =
mlir::TupleType::get(&Context, mlir::TypeRange({IndexType, FloatType}));
auto UnknownLoc = mlir::UnknownLoc::get(&Context);
auto FileLineColLoc = mlir::FileLineColLoc::get("file", 7, 8, &Context);
auto FileLineColLoc = mlir::FileLineColLoc::get(&Context, "file", 7, 8);
auto OpaqueLoc = mlir::OpaqueLoc::get<uintptr_t>(9, &Context);
auto NameLoc = mlir::NameLoc::get(Identifier);
auto CallSiteLoc = mlir::CallSiteLoc::get(FileLineColLoc, OpaqueLoc);
auto FusedLoc = mlir::FusedLoc::get({FileLineColLoc, NameLoc}, &Context);
auto FusedLoc = mlir::FusedLoc::get(&Context, {FileLineColLoc, NameLoc});
mlir::Attribute UnitAttr = mlir::UnitAttr::get(&Context);
mlir::Attribute FloatAttr = mlir::FloatAttr::get(FloatType, 1.0);