[llvm] [RemoveDIs] Update update_test_checks script to recognize dbg_records (PR #87388)
Stephen Tozer via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 22 09:00:55 PDT 2024
SLTozer wrote:
Perhaps a more sensible way for this specific case would be a more advanced pattern match for this line - all of the metadata in the line `#dbg_record(i32 %x, !11, !12, !13)` is guaranteed to be some kind of debug info metadata, but not being particularly well-versed in the pattern matching logic in update_test_checks I couldn't see a good way to match "![0-9]+ on lines that start with #dbg_record"; using a prefix of `#dbg_record.+` or anything along those lines resulted in bad checks being generated, but if we can match that case correctly then we could use `DBG` here.
https://github.com/llvm/llvm-project/pull/87388
More information about the llvm-commits
mailing list