commit | cc0d7eeb6dbf4aa1efad895ff2b8568000b02461 | [log] [tgz] |
---|---|---|
author | Justin Bogner <[email protected]> | Thu Sep 04 15:45:31 2014 |
committer | Justin Bogner <[email protected]> | Thu Sep 04 15:45:31 2014 |
tree | 9d58302dddbcb687ae91af1234ae16f5499b041d | |
parent | 7c3d581e8a40c26fe2e29a565782a75d4c513383 [diff] |
profile: Avoid name collisions between instrumentation and runtime The naming scheme we're using for counters in profile data shares a prefix with some fixed names we use for the runtime, notably __llvm_profile_data_begin and _end. Embarrassingly, this means a function called begin() can't be instrumented. This modifies the runtime names so as not to collide with the instrumentation. llvm-svn: 217166