Re-apply "InstrProf: Add unit tests for the profile reader and writer"
authorJustin Bogner <mail@justinbogner.com>
Tue, 17 Feb 2015 07:50:59 +0000 (07:50 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 17 Feb 2015 07:50:59 +0000 (07:50 +0000)
commite7b8243e9aa409f690097b071f2b3232cd5a5fb6
tree0fce72bb6db54b8393686bc822692f2e9248e233
parent7df4cae5a9524e8f565bc664c695e6ecc6b463fb
Re-apply "InstrProf: Add unit tests for the profile reader and writer"

Add these tests again, but use va_list instead of initializer lists.

This reverts r229456, reapplying r229455.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229478 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ProfileData/InstrProfReader.h
include/llvm/ProfileData/InstrProfWriter.h
lib/ProfileData/InstrProfReader.cpp
lib/ProfileData/InstrProfWriter.cpp
unittests/ProfileData/CMakeLists.txt
unittests/ProfileData/InstrProfTest.cpp [new file with mode: 0644]