From: Mehdi Amini Date: Tue, 2 Mar 2021 19:20:10 +0000 (+0000) Subject: Fix `debuginfo-tests/llvm-prettyprinters` build after MLIR API change in e6260ad043d8... X-Git-Tag: llvmorg-14-init~13602 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=068aa12f96afdb0aa31e2986fa23684f41197cd3;p=platform%2Fupstream%2Fllvm.git Fix `debuginfo-tests/llvm-prettyprinters` build after MLIR API change in e6260ad043d8 (NFC) --- 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);