[all-commits] [llvm/llvm-project] 251fe9: [Test][DebugInfo] Check for backend object emissio...

Nigel Perks via All-commits all-commits at lists.llvm.org
Thu Mar 18 02:52:45 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 251fe986afd35bc257a8b043a49bddc98473d565
      https://github.com/llvm/llvm-project/commit/251fe986afd35bc257a8b043a49bddc98473d565
  Author: Nigel Perks <nigelp at xmos.com>
  Date:   2021-03-18 (Thu, 18 Mar 2021)

  Changed paths:
    M llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
    M llvm/unittests/DebugInfo/DWARF/DwarfUtils.cpp
    M llvm/unittests/DebugInfo/DWARF/DwarfUtils.h

  Log Message:
  -----------
  [Test][DebugInfo] Check for backend object emission support.

The XCore backend does not support object emission. Several tests fail for this
reason when XCore is the default target. See staging buildbot builder:
clang-xcore-ubuntu-20-x64.

So check for backend object emission before running the tests requiring it.

Incorporate isConfigurationSupported functionality in isObjectEmissionSupported,
to avoid calling them both in the same tests.

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




More information about the All-commits mailing list