[all-commits] [llvm/llvm-project] e0044a: [compiler-rt][builtins] Define AT_HWCAP2 for AArch64

Erich Keane via All-commits all-commits at lists.llvm.org
Thu Mar 9 20:39:15 PST 2023


  Branch: refs/heads/release/16.x
  Home:   https://github.com/llvm/llvm-project
  Commit: e0044a6993d4c68310f7ce9e2edaaf73fdb4b056
      https://github.com/llvm/llvm-project/commit/e0044a6993d4c68310f7ce9e2edaaf73fdb4b056
  Author: Xi Ruoyao <xry111 at xry111.site>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

  Changed paths:
    M compiler-rt/lib/builtins/cpu_model.c

  Log Message:
  -----------
  [compiler-rt][builtins] Define AT_HWCAP2 for AArch64

Without the definition, build fails on AArch64 with

> error: 'AT_HWCAP2' undeclared (first use in this function);
> did you mean 'AT_HWCAP'?

with old Glibc versions.

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

(cherry picked from commit 23fcca822a3a3b9a14b6a1ad432814e2634cdb63)


  Commit: 633c6c013ed7368e6ab644de2e9dab9d9e175fcc
      https://github.com/llvm/llvm-project/commit/633c6c013ed7368e6ab644de2e9dab9d9e175fcc
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

  Changed paths:
    M clang/lib/Lex/TokenLexer.cpp
    A clang/test/Lexer/update_consecutive_macro_crash.cpp

  Log Message:
  -----------
  [Lex] Fix a crash in updateConsecutiveMacroArgTokens.

Fixes https://github.com/llvm/llvm-project/issues/60722.

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

(cherry picked from commit 341dd6076b123946f79a3148b660d6579f9683a7)


  Commit: 9a6f0c20fd2294830acdde714e6cddb2793c504b
      https://github.com/llvm/llvm-project/commit/9a6f0c20fd2294830acdde714e6cddb2793c504b
  Author: Erich Keane <erich.keane at intel.com>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Sema/SemaInternal.h
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/lib/Sema/SemaTemplateVariadic.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp
    M clang/test/SemaTemplate/cxx1z-fold-expressions.cpp
    M clang/test/SemaTemplate/pack-deduction.cpp

  Log Message:
  -----------
  Revert two patches to fix GH58452 regression

GH58452 is a regression in the 16.0 release branch caused by both:
b8a1b698afb2fc84819c7596090aabf4d826b436 and
3a0309c53674be56b5cfce038d78a0c2c6e2a98c

This patch reverts both of those to make the 'valid' code stop
diagnosing
at the expense of crashes on invalid + unclear diagnostics.

This patch also adds the tests from GH58452 to prevent any
re-application from breaking this again.

Revert "[clang] Improve diagnostics for expansion length mismatch"
This reverts commit 3a0309c53674be56b5cfce038d78a0c2c6e2a98c.
Revert "[clang] fix missing initialization of original number of expansions"
This reverts commit b8a1b698afb2fc84819c7596090aabf4d826b436.

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

(cherry picked from commit acecf68c8b7c3c625cfa00f00f8ddc8f15baae44)


Compare: https://github.com/llvm/llvm-project/compare/7fd255fe6e35...9a6f0c20fd22


More information about the All-commits mailing list