mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 22:30:13 +00:00
debuginfo-tests: Fix check-gdb-mlir-support build after MLIR API change in a4bb667d83
Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D98613
This commit is contained in:
parent
91a6ad5ad8
commit
633549f73e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user