[all-commits] [llvm/llvm-project] ecfd6d: [clang] Set function attributes on SEH filter func...

Sanne Wouda via All-commits all-commits at lists.llvm.org
Fri Jan 17 10:10:52 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ecfd6d3e84185127fb836d6fe62564456be3a9cd
      https://github.com/llvm/llvm-project/commit/ecfd6d3e84185127fb836d6fe62564456be3a9cd
  Author: Sanne Wouda <Sanne.Wouda at arm.com>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M clang/lib/CodeGen/CGException.cpp
    M clang/test/CodeGen/exceptions-seh-finally.c
    A clang/test/CodeGenCXX/exceptions-seh-filter-uwtable.cpp

  Log Message:
  -----------
  [clang] Set function attributes on SEH filter functions correctly.

Summary:
When compiling with -munwind-tables, the SEH filter funclet needs the uwtable
function attribute, which gets automatically added if we use
SetInternalFunctionAttributes.  The filter funclet is internal so this seems
appropriate.

Reviewers: rnk

Subscribers: cfe-commits

Tags: #clang

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




More information about the All-commits mailing list