Skip to content
  • Nick Lewycky's avatar
    Move the libcall annotating part from doFinalization to doInitialization. · e4e5532e
    Nick Lewycky authored
    Finalization occurs after all the FunctionPasses in the group have run, which
    is clearly not what we want.
    
    This also means that we have to make sure that we apply the right param 
    attributes when creating a new function.
    
    Also, add a missed optimization: strdup and strndup. NoCapture and 
    NoAlias return!
    
    llvm-svn: 61658
    e4e5532e
Loading