[PATCH] D119017: [clang] roll-forward "[clang] Mark `trivial_abi` types as "trivially relocatable"".

Soumi Manna via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 18 11:18:48 PDT 2022


Manna added a comment.
Herald added a project: All.

LIT test (SemaCXX/attr-trivial-abi.cpp) is failing for x86 build of clang. The same failures are happening with our downstream X86 clang build.

- TEST 'Clang :: SemaCXX/attr-trivial-abi.cpp' FAILED ********************

Script:
-------

: 'RUN: at line 1';   ...\llorg\builds\llorgx86winefi2_prod\llvm\bin\clang.exe -cc1 -internal-isystem .../llorg\builds\llorgx86winefi2_prod\llvm\lib\clang\15.0.0\include -nostdsysteminc -fsyntax-only -verify ...\llorg\llvm\clang\test\SemaCXX\attr-trivial-abi.cpp -std=c++11
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Exit Code: 1Command Output (stdout):
------------------------------------

$ ":" "RUN: at line 1"
$ "....\llorg\builds\llorgx86winefi2_prod\llvm\bin\clang.exe" "-cc1" "-internal-isystem" "...\llorg\builds\llorgx86winefi2_prod\llvm\lib\clang\15.0.0\include" "-nostdsysteminc" "-fsyntax-only" "-verify" "....\llorg\llvm\clang\test\SemaCXX\attr-trivial-abi.cpp" "-std=c++11"

command stderr:
===============

error: 'error' diagnostics seen but not expected:

  File ...\llorg\llvm\clang\test\SemaCXX\attr-trivial-abi.cpp Line 13: static_assert failed due to requirement '!__is_trivially_relocatable(a<int>)' ""
  File ....\llorg\llvm\clang\test\SemaCXX\attr-trivial-abi.cpp Line 141: static_assert failed due to requirement '!__is_trivially_relocatable(deletedCopyMoveConstructor::CopyDeleted)' ""
  File ....\llorg\llvm\clang\test\SemaCXX\attr-trivial-abi.cpp Line 167: static_assert failed due to requirement '!__is_trivially_relocatable(deletedCopyMoveConstructor::S20)' ""

3 errors generated. error: command failed with exit status: 1--********************

********************

Failed Tests (1):

  Clang :: SemaCXX/attr-trivial-abi.cpp

Testing Time: 2.11s

  Failed: 1

The test might need to be updated so that shouldn't run with x86 build. @devin.jeanpierre, could you please look at the test failures? Thanks


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119017/new/

https://reviews.llvm.org/D119017



More information about the cfe-commits mailing list