[all-commits] [llvm/llvm-project] ea9706: [test] [lldb] Use filename instead of index in test

EricSL via All-commits all-commits at lists.llvm.org
Mon Aug 2 12:13:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea9706626ce3f83b8433849049cc3c64b6b7297c
      https://github.com/llvm/llvm-project/commit/ea9706626ce3f83b8433849049cc3c64b6b7297c
  Author: Eric Leese <leese at google.com>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

  Changed paths:
    M lldb/test/Shell/SymbolFile/DWARF/dwarf5-lazy-dwo.c

  Log Message:
  -----------
  [test] [lldb] Use filename instead of index in test

In some environments this test could fail if start.S has its own DWARF
CompileUnit or similar are included before the DWARF CompileUnit for the
file.

This change makes the test independent of the index of the compile unit,
instead checking the filename.

Reviewed By: herhut, jankratochvil

Differential Revision: https://reviews.llvm.org/D107300




More information about the All-commits mailing list