diff options
author | Justin Kim <jwkimrhkgkr@gmail.com> | 2025-09-28 21:16:27 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-28 12:16:27 +0000 |
commit | aaf23f0887969130fbbfedc2b525921c1c7b687c (patch) | |
tree | 7a654c73061660ed52064c5c595299acd9cc9870 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 63d866e04b86f2bf18206f02acf4f25f7be44111 (diff) | |
download | llvm-aaf23f0887969130fbbfedc2b525921c1c7b687c.zip llvm-aaf23f0887969130fbbfedc2b525921c1c7b687c.tar.gz llvm-aaf23f0887969130fbbfedc2b525921c1c7b687c.tar.bz2 |
[mlir][mlir-tblgen] Emit correct error message if method is pruned (#160334)
Add verification for pruned methods for `emitCustomBuilder` and
`emitCheckedCustomBuilder` with proper diagnostic about shadowed methods.
Without this verification, `mlir-tblgen` with `--gen-attrdef-decls`
would segmentation fault if custom builder is provided with its body,
but if method is pruned out due to duplication with other builders.
Fixes #160227
---------
Co-authored-by: Justin Kim <jaewoo.kim@hyperaccel.ai>
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions