[all-commits] [llvm/llvm-project] a58d0a: Revert D121556 "[randstruct] Add randomize structu...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Apr 8 18:37:39 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a58d0af058038595c93de961b725f86997cf8d4a
      https://github.com/llvm/llvm-project/commit/a58d0af058038595c93de961b725f86997cf8d4a
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-04-08 (Fri, 08 Apr 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/Decl.h
    M clang/include/clang/AST/DeclBase.h
    R clang/include/clang/AST/Randstruct.h
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/LangOptions.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/AST/CMakeLists.txt
    M clang/lib/AST/Decl.cpp
    R clang/lib/AST/Randstruct.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Sema/SemaCast.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    M clang/unittests/AST/CMakeLists.txt
    R clang/unittests/AST/RandstructTest.cpp
    M llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
    M llvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn

  Log Message:
  -----------
  Revert D121556 "[randstruct] Add randomize structure layout support"

This reverts commit 3f0587d0c668202bb89d29a25432aa290e551a31.

Not all tests pass after a few rounds of fixes.

I spot one failure that std::shuffle (potentially different results with
different STL implementations) was misused and replaced it with llvm::shuffle,
but there appears to be another failure in a Windows build.

The latest failure is reported on https://reviews.llvm.org/D121556#3440383




More information about the All-commits mailing list