commit | b06f3b4a33ff68efef7f14f1f102c54def786f8f | [log] [tgz] |
---|---|---|
author | Justin Bogner <mail@justinbogner.com> | Mon Jun 22 23:58:05 2015 +0000 |
committer | Justin Bogner <mail@justinbogner.com> | Mon Jun 22 23:58:05 2015 +0000 |
tree | 10bd85d32c8040edaef46cf5b6fd6735223d72b2 | |
parent | fe3176fc13733c8111ab89a744be4ce228a992a3 [diff] |
Re-apply "InstrProf: When reading, copy the data instead of taking a reference. NFC" This version fixes a missing include that MSVC noticed and clarifies the ownership of the counter buffer that's passed to InstrProfRecord. This restores r240206, which was reverted in r240208. Patch by Betul Buyukkurt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240360 91177308-0d34-0410-b5e6-96231b3b80d8