[all-commits] [llvm/llvm-project] d59ce7: [ARM] Specify Triple in DebugInfo Tests

Sam Elliott via All-commits all-commits at lists.llvm.org
Tue Nov 1 07:56:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d59ce7d0eaada995e1a8f262f1ff33888575332c
      https://github.com/llvm/llvm-project/commit/d59ce7d0eaada995e1a8f262f1ff33888575332c
  Author: Archibald Elliott <archibald.elliott at arm.com>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M llvm/test/DebugInfo/ARM/bitfield.ll
    M llvm/test/DebugInfo/ARM/float-args.ll
    M llvm/test/DebugInfo/ARM/split-complex.ll

  Log Message:
  -----------
  [ARM] Specify Triple in DebugInfo Tests

When the host's target triple ends in `-windows-msvc`, `%llc_dwarf`
contains an explicit `-windows-gnu` triple which ensures that dwarf will
be used. This is useful in target-independent tests, where no triple is
specified, and no target-specific features are used. However, this is
not compatible with target-dependent tests (such as those in
llvm/test/DebugInfo/ARM), as the command-line triple will override the
triple in the LLVM IR program, causing test issues on windows.

This change switches these tests to use an explicit triple, so the tests
test what was expected, and there is no flakiness on windows.

Fixes #58053

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




More information about the All-commits mailing list