[all-commits] [llvm/llvm-project] 93d2e4: Fix file index verifier when there is no file name...

Shubham Sandeep Rastogi via All-commits all-commits at lists.llvm.org
Fri Jan 5 11:15:31 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93d2e49b6aa6904620a7e9b559c04ec8756dc596
      https://github.com/llvm/llvm-project/commit/93d2e49b6aa6904620a7e9b559c04ec8756dc596
  Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
  Date:   2024-01-05 (Fri, 05 Jan 2024)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
    A llvm/test/tools/llvm-dwarfdump/verify-no-file.yaml

  Log Message:
  -----------
  Fix file index verifier when there is no file name in the prologue. (#77004)

If there is no file name in the prologue of a line table, the verifier
will try to verify the file index, which will be set to 1 by default.
This will cause the DWARF verifier to throw an error even if there is no
error.

rdar://114476503
rdar://114343624




More information about the All-commits mailing list