[debuginfo-tests] 068aa12 - Fix `debuginfo-tests/llvm-prettyprinters` build after MLIR API change in e6260ad043d8 (NFC)

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 2 11:21:17 PST 2021


Author: Mehdi Amini
Date: 2021-03-02T19:21:03Z
New Revision: 068aa12f96afdb0aa31e2986fa23684f41197cd3

URL: https://github.com/llvm/llvm-project/commit/068aa12f96afdb0aa31e2986fa23684f41197cd3
DIFF: https://github.com/llvm/llvm-project/commit/068aa12f96afdb0aa31e2986fa23684f41197cd3.diff

LOG: Fix `debuginfo-tests/llvm-prettyprinters` build after MLIR API change in e6260ad043d8 (NFC)

Added: 
    

Modified: 
    debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp

Removed: 
    


################################################################################
diff  --git a/debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp b/debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp
index 2633e4b19ebc..a1d62f509b21 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<uintptr_t>(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);
 


        


More information about the llvm-commits mailing list