[all-commits] [llvm/llvm-project] eb83b5: Fix mysterious failure of SupportTests FileCheckTe...

Hans via All-commits all-commits at lists.llvm.org
Mon Sep 28 06:37:54 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: eb83b551d3eb08cf472fe6307fe3809a8005b2cc
      https://github.com/llvm/llvm-project/commit/eb83b551d3eb08cf472fe6307fe3809a8005b2cc
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M llvm/unittests/Support/FileCheckTest.cpp

  Log Message:
  -----------
  Fix mysterious failure of SupportTests FileCheckTest.Binop

The test would fail in no-asserts release builds using MSVC
for 64-bit Windows:

Unexpected error message:
TestBuffer:1:1: error: implicit format conflict between 'FOO' (%u) and '18\0' (%x), need an explicit format specifier

Error message(s) not found:
{implicit format conflict between 'FOO' (%u) and 'BAZ' (%x), need an explicit format specifier}

It seems a string from a previous test case is finding its way
into the latter one.

This doesn't reproduce on master anymore after 998709b7d, so let's
just hack around it here for the branch.




More information about the All-commits mailing list