[all-commits] [llvm/llvm-project] 8d9a3a: [clang][test] Make headers unique to avoid linking...

Ben Langmuir via All-commits all-commits at lists.llvm.org
Thu Oct 6 10:10:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d9a3a6b9bd10f294d0e5adb0972a1ed8845e4aa
      https://github.com/llvm/llvm-project/commit/8d9a3a6b9bd10f294d0e5adb0972a1ed8845e4aa
  Author: Ben Langmuir <blangmuir at apple.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    M clang/test/Driver/Inputs/header0.h
    M clang/test/Driver/Inputs/header1.h
    M clang/test/Driver/Inputs/header2.h
    M clang/test/Driver/Inputs/header3.h
    M clang/test/Driver/Inputs/header4.h

  Log Message:
  -----------
  [clang][test] Make headers unique to avoid linking issues

Make the empty headers used by cl-pch-showincludes.cpp unique so that
filesystems that link these files together by contents will not see
different behaviour in this test, which is not testing linked files
specifically.

This was uncovered by 5ea78c4113f8 which made us stop mutating the name
of the presumed loc for the file in ContentCache, but that just surfaced
an underlying issue that the filename of multiple includes of linked
files are not separately tracked.

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




More information about the All-commits mailing list