[all-commits] [llvm/llvm-project] 4ae529: Loosen DWARF form check in discriminant-member.ll ...

Tom Tromey via All-commits all-commits at lists.llvm.org
Fri May 9 07:06:01 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ae529b764390fb7b78bf1871bb90ff5c4c7bbbd
      https://github.com/llvm/llvm-project/commit/4ae529b764390fb7b78bf1871bb90ff5c4c7bbbd
  Author: Tom Tromey <tromey at adacore.com>
  Date:   2025-05-09 (Fri, 09 May 2025)

  Changed paths:
    M llvm/test/DebugInfo/Generic/discriminant-member.ll

  Log Message:
  -----------
  Loosen DWARF form check in discriminant-member.ll (#139258)

The new test discriminant-member.ll (see #138953) failed on AIX. It
seems that the string form is different in the DWARF. The log reads:

          50:  DW_AT_name [DW_FORM_string] ("Discr")

... but the test only looks for DW_FORM_strp. Since the precise form
isn't important here, this patch changes the test to accept any string
form.

---------

Co-authored-by: Hubert Tong <hubert.reinterpretcast at gmail.com>



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