diff options
author | Justin Bogner <mail@justinbogner.com> | 2015-06-20 01:26:04 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2015-06-20 01:26:04 +0000 |
commit | 3f5eb6610c3252e930241cd3205f9bec08213c28 (patch) | |
tree | d52e9e39eea0281829d05a9674260c46fd0d6559 /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 2e06b7d19825fcee6067c61027b38d17008c262e (diff) | |
download | llvm-3f5eb6610c3252e930241cd3205f9bec08213c28.zip llvm-3f5eb6610c3252e930241cd3205f9bec08213c28.tar.gz llvm-3f5eb6610c3252e930241cd3205f9bec08213c28.tar.bz2 |
InstrProf: When reading, copy the data instead of taking a reference. NFC
This consolidates the logic to read instrprof records into the on disk
hash table's lookup trait and makes us copy the counter data instead
of taking references to it as we read. This will simplify further
changes to the format.
Patch by Betul Buyukkurt.
llvm-svn: 240206
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions