[PATCH] D114732: [clang] Mark `trivial_abi` types as "trivially relocatable".

Douglas Yung via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 3 12:13:02 PST 2022


dyung added a comment.

Hi, your change is causing a test failure in the test attr-trivial-abi.cpp that you modified on the PS4 Windows box:

https://lab.llvm.org/staging/#/builders/204/builds/758/steps/7/logs/FAIL__Clang__attr-trivial-abi_cpp

  ******************** TEST 'Clang :: SemaCXX/attr-trivial-abi.cpp' FAILED ********************
  Script:
  --
  : 'RUN: at line 1';   c:\buildbot-root\llvm-clang-x86_64-sie-win\build\bin\clang.exe -cc1 -internal-isystem c:\buildbot-root\llvm-clang-x86_64-sie-win\build\lib\clang\15.0.0\include -nostdsysteminc -fsyntax-only -verify C:\buildbot-root\llvm-clang-x86_64-sie-win\llvm-project\clang\test\SemaCXX\attr-trivial-abi.cpp -std=c++11
  --
  Exit Code: 1
  Command Output (stdout):
  --
  $ ":" "RUN: at line 1"
  $ "c:\buildbot-root\llvm-clang-x86_64-sie-win\build\bin\clang.exe" "-cc1" "-internal-isystem" "c:\buildbot-root\llvm-clang-x86_64-sie-win\build\lib\clang\15.0.0\include" "-nostdsysteminc" "-fsyntax-only" "-verify" "C:\buildbot-root\llvm-clang-x86_64-sie-win\llvm-project\clang\test\SemaCXX\attr-trivial-abi.cpp" "-std=c++11"
  # command stderr:
  error: 'error' diagnostics seen but not expected: 
    File C:\buildbot-root\llvm-clang-x86_64-sie-win\llvm-project\clang\test\SemaCXX\attr-trivial-abi.cpp Line 42: static_assert failed due to requirement '!__is_trivially_relocatable(S3_3)' ""
    File C:\buildbot-root\llvm-clang-x86_64-sie-win\llvm-project\clang\test\SemaCXX\attr-trivial-abi.cpp Line 114: static_assert failed due to requirement '!__is_trivially_relocatable(deletedCopyMoveConstructor::CopyMoveDeleted)' ""
    File C:\buildbot-root\llvm-clang-x86_64-sie-win\llvm-project\clang\test\SemaCXX\attr-trivial-abi.cpp Line 119: static_assert failed due to requirement '!__is_trivially_relocatable(deletedCopyMoveConstructor::S18)' ""
    File C:\buildbot-root\llvm-clang-x86_64-sie-win\llvm-project\clang\test\SemaCXX\attr-trivial-abi.cpp Line 141: static_assert failed due to requirement '!__is_trivially_relocatable(deletedCopyMoveConstructor::S19)' ""
  4 errors generated.
  error: command failed with exit status: 1
  --
  ********************

Can you take a look?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114732



More information about the cfe-commits mailing list