[all-commits] [llvm/llvm-project] 8d3454: Introduce and use Verifier::visitDIType (#189067)

Tom Tromey via All-commits all-commits at lists.llvm.org
Fri Apr 3 11:40:58 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d345457927330fbfdf7bdfa0ad7ee5b4ee27935
      https://github.com/llvm/llvm-project/commit/8d345457927330fbfdf7bdfa0ad7ee5b4ee27935
  Author: Tom Tromey <tromey at adacore.com>
  Date:   2026-04-03 (Fri, 03 Apr 2026)

  Changed paths:
    M llvm/lib/IR/Verifier.cpp
    A llvm/test/Verifier/dbg-type-line-without-file.ll
    M mlir/test/Target/LLVMIR/Import/debug-info.ll

  Log Message:
  -----------
  Introduce and use Verifier::visitDIType (#189067)

This adds a new method Verifier::visitDIType, and then changes method
for subclasses of DIType to call it. The new method just dispatches to
DIScope and adds a file/line check inspired by
Verifier::visitDISubprogram.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list