[all-commits] [llvm/llvm-project] 488c77: Fix a crash with variably-modified parameter types...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Thu Mar 24 07:39:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 488c772920566354075f7933eedbe4358c128bd2
      https://github.com/llvm/llvm-project/commit/488c772920566354075f7933eedbe4358c128bd2
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2022-03-24 (Thu, 24 Mar 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/test/CodeGen/attr-naked.c

  Log Message:
  -----------
  Fix a crash with variably-modified parameter types in a naked function

Naked functions have no prolog, so it's not valid to emit prolog code
to evaluate the variably-modified type. This fixes Issue 50541.




More information about the All-commits mailing list