<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - error: no member named 'Kind' in 'mlir::Value'"
href="https://bugs.llvm.org/show_bug.cgi?id=49528">49528</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>error: no member named 'Kind' in 'mlir::Value'
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>11.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nnelson@infowest.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Xubuntu 20.10.
>From the Ubuntu distribution
clang++ --version
Ubuntu clang version 11.0.0-2
git command executed close to 9pm Mar. 9, 2021, Mountain Standard Time.
git clone <a href="https://github.com/llvm/llvm-project.git">https://github.com/llvm/llvm-project.git</a>
cd llvm-project
mkdir build
cd build
cmake -G Ninja
-DLLVM_ENABLE_PROJECTS="clang;llvm;clang-tools-extra;compiler-rt;debuginfo-tests;flang;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;mlir;openmp;parallel-libs;polly;pstl;utils"
-DLLVM_USE_LINKER=lld -DCMAKE_BUILD_TYPE="Release" -DLLVM_TARGETS_TO_BUILD=X86
-DLLVM_ENABLE_LIBPFM=OFF -DRUN_HAVE_GNU_POSIX_REGEX=0
-DLLVM_LIBC_ENABLE_LINTING=ON -Wno-dev ../llvm &> ~/Documents/cmake.log
ninja -j 31 &> ~/Documents/ninja.log
>From ninja.log
/home/nnelson/Documents/llvm-project/debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp:13:33:
error: no member named 'Kind' in 'mlir::Value'
mlir::Value::Kind::TrailingOpResult});
~~~~~~~~~~~~~^
/home/nnelson/Documents/llvm-project/debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp:27:23:
error: no matching function for call to 'get'
auto FileLineColLoc = mlir::FileLineColLoc::get("file", 7, 8, &Context);
^~~~~~~~~~~~~~~~~~~~~~~~~
tools/mlir/include/mlir/IR/BuiltinLocationAttributes.h.inc:50:27: note:
candidate function not viable: no known conversion from 'const char [5]' to
'::mlir::MLIRContext *' for 1st argument
static FileLineColLoc get(::mlir::MLIRContext *context, StringRef filename,
unsigned line, unsigned column);
^
tools/mlir/include/mlir/IR/BuiltinLocationAttributes.h.inc:49:27: note:
candidate function not viable: requires 3 arguments, but 4 were provided
static FileLineColLoc get(Identifier filename, unsigned line, unsigned
column);
^
2 errors generated.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>