Skip to content
  • Keno Fischer's avatar
    aff703a2
    [CodeGen] Force emission of personality directive if explicitly specified · aff703a2
    Keno Fischer authored
    Summary:
    Before this change, personality directives were not emitted
    if there was no invoke left in the function (of course until
    recently this also meant that we couldn't know what
    the personality actually was). This patch forces personality directives
    to still be emitted, unless it is known to be a noop in the absence of
    invokes, or the user explicitly specified `nounwind` (and not
    `uwtable`) on the function.
    
    Reviewers: majnemer, rnk
    
    Subscribers: rnk, llvm-commits
    
    Differential Revision: http://reviews.llvm.org/D10884
    
    llvm-svn: 242185
    aff703a2
    [CodeGen] Force emission of personality directive if explicitly specified
    Keno Fischer authored
    Summary:
    Before this change, personality directives were not emitted
    if there was no invoke left in the function (of course until
    recently this also meant that we couldn't know what
    the personality actually was). This patch forces personality directives
    to still be emitted, unless it is known to be a noop in the absence of
    invokes, or the user explicitly specified `nounwind` (and not
    `uwtable`) on the function.
    
    Reviewers: majnemer, rnk
    
    Subscribers: rnk, llvm-commits
    
    Differential Revision: http://reviews.llvm.org/D10884
    
    llvm-svn: 242185
Loading