[all-commits] [llvm/llvm-project] 40ce58: Revert "[clang] Refactor AST printing tests to sha...

David Green via All-commits all-commits at lists.llvm.org
Tue Jul 13 20:41:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40ce58d0ca10a1195da82895749b67f30f000243
      https://github.com/llvm/llvm-project/commit/40ce58d0ca10a1195da82895749b67f30f000243
  Author: David Green <david.green at arm.com>
  Date:   2021-07-14 (Wed, 14 Jul 2021)

  Changed paths:
    M clang/unittests/AST/ASTPrint.h
    M clang/unittests/AST/DeclPrinterTest.cpp
    M clang/unittests/AST/NamedDeclPrinterTest.cpp
    M clang/unittests/AST/StmtPrinterTest.cpp

  Log Message:
  -----------
  Revert "[clang] Refactor AST printing tests to share more infrastructure"

This reverts commit 20176bc7dd3f431db4c3d59b51a9f53d52190c82 as some
versions of GCC do not seem to handle the new code very well. They
complain about:

/tmp/ccqUQZyw.s: Assembler messages:
/tmp/ccqUQZyw.s:1151: Error: symbol `_ZNSt14_Function_base13_Base_managerIN5clangUlPKNS1_4StmtEE2_EE10_M_managerERSt9_Any_dataRKS7_St18_Manager_operation' is already defined
/tmp/ccqUQZyw.s:11963: Error: symbol `_ZNSt17_Function_handlerIFbPKN5clang4StmtEENS0_UlS3_E2_EE9_M_invokeERKSt9_Any_dataOS3_' is already defined

This seems like it is some GCC issue, but multiple buildbots (and my
local machine) are all failing because of it.




More information about the All-commits mailing list