commit | 918035f802be7840177f77389d0b70415f84b06f | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Fri Apr 08 22:19:52 2011 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Fri Apr 08 22:19:52 2011 +0000 |
tree | 9823dececbc41c2cbc36a477b7a5ca691ecc2836 | |
parent | 7c90e4662205c14da6a340501316b3059f7fd871 [diff] |
Add a function for profiling to run at shutdown. Unlike the existing API, this can be used even when main() isn't present in the Module, but it means that you don't get to read argv[]. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129163 91177308-0d34-0410-b5e6-96231b3b80d8