From 068aa12f96afdb0aa31e2986fa23684f41197cd3 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Tue, 2 Mar 2021 19:20:10 +0000 Subject: [PATCH] Fix `debuginfo-tests/llvm-prettyprinters` build after MLIR API change in e6260ad043d8 (NFC) --- debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp b/debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp index 2633e4b..a1d62f5 100644 --- a/debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp +++ b/debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp @@ -26,7 +26,7 @@ mlir::Type TupleType = auto UnknownLoc = mlir::UnknownLoc::get(&Context); auto FileLineColLoc = mlir::FileLineColLoc::get("file", 7, 8, &Context); auto OpaqueLoc = mlir::OpaqueLoc::get(9, &Context); -auto NameLoc = mlir::NameLoc::get(Identifier, &Context); +auto NameLoc = mlir::NameLoc::get(Identifier); auto CallSiteLoc = mlir::CallSiteLoc::get(FileLineColLoc, OpaqueLoc); auto FusedLoc = mlir::FusedLoc::get({FileLineColLoc, NameLoc}, &Context); -- 2.7.4