[PATCH] D98613: debuginfo-tests: Fix check-gdb-mlir-support build after MLIR API change in a4bb667d831c
Mehdi AMINI via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 14 22:10:34 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG633549f73eca: debuginfo-tests: Fix check-gdb-mlir-support build after MLIR API change in… (authored by nathanchance, committed by mehdi_amini).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98613/new/
https://reviews.llvm.org/D98613
Files:
debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp
Index: debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp
===================================================================
--- debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp
+++ debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp
@@ -24,11 +24,11 @@
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);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98613.330555.patch
Type: text/x-patch
Size: 1015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210315/fe074d06/attachment.bin>
More information about the llvm-commits
mailing list