[all-commits] [llvm/llvm-project] 6ed21f: Avoid __builtin_assume_aligned crash when the 1st ...

黄金橘子猫 via All-commits all-commits at lists.llvm.org
Wed Sep 7 09:47:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ed21fc515230ac2ea459d8aa90566e9a467bbb0
      https://github.com/llvm/llvm-project/commit/6ed21fc515230ac2ea459d8aa90566e9a467bbb0
  Author: yronglin <yronglin777 at gmail.com>
  Date:   2022-09-07 (Wed, 07 Sep 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/Sema/SemaChecking.cpp
    A clang/test/CodeGen/catch-alignment-assumption-array.c
    M clang/test/CodeGen/catch-alignment-assumption-ignorelist.c
    M clang/test/Sema/builtin-assume-aligned.c

  Log Message:
  -----------
  Avoid __builtin_assume_aligned crash when the 1st arg is array type

Avoid __builtin_assume_aligned crash when the 1st arg is array type (or
string literal).

Fixes Issue #57169

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




More information about the All-commits mailing list