Skip to content
  1. Dec 12, 2012
    • John McCall's avatar
      Rewrite calls to bitcast unprototyped functions when emitting a definition. · 49954ca0
      John McCall authored
      My variadics patch, r169588, changed these calls to typically be
      bitcasts rather than calls to a supposedly variadic function.
      This totally subverted a hack where we intentionally dropped
      excess arguments from such calls in order to appease the inliner
      and a "warning" from the optimizer.  This patch extends the hack
      to also work with bitcasts, as well as teaching it to rewrite
      invokes.
      
      llvm-svn: 170034
      49954ca0
  2. Sep 19, 2011
    • Bill Wendling's avatar
      Throw the switch to convert clang to the new exception handling model! · f0724e8e
      Bill Wendling authored
      This model uses the 'landingpad' instruction, which is pinned to the top of the
      landing pad. (A landing pad is defined as the destination of the unwind branch
      of an invoke instruction.) All of the information needed to generate the correct
      exception handling metadata during code generation is encoded into the
      landingpad instruction.
      
      The new 'resume' instruction takes the place of the llvm.eh.resume intrinsic
      call. It's lowered in much the same way as the intrinsic is.
      
      llvm-svn: 140049
      f0724e8e
  3. Nov 07, 2010
Loading