Skip to content

Commit

Permalink
debuginfo-tests: Fix check-gdb-mlir-support build after MLIR API chan…
Browse files Browse the repository at this point in the history
…ge in a4bb667

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D98613
  • Loading branch information
nathanchance authored and joker-eph committed Mar 15, 2021
1 parent 91a6ad5 commit 633549f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 633549f

Please sign in to comment.