llvm-profdata: Clean up and reorganize some tests
authorJustin Bogner <mail@justinbogner.com>
Tue, 29 Jul 2014 22:29:23 +0000 (22:29 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 29 Jul 2014 22:29:23 +0000 (22:29 +0000)
commitcf36a366a81bdca3083cdcdf2f405a9071598230
treeed0e2d9ba96ed693196b36d2b81b2cd09ee825ec
parent9e9623ca6417de15c02b3ba164a0813447de2776
llvm-profdata: Clean up and reorganize some tests

This moves some tests around to make it clearer what's being tested,
and adds very rudimentary comment syntax to the text input format to
make specifying this kind of test a little bit simpler.

llvm-svn: 214235
llvm/lib/ProfileData/InstrProfReader.cpp
llvm/test/tools/llvm-profdata/Inputs/overflow.profdata [deleted file]
llvm/test/tools/llvm-profdata/hash-mismatch.profdata [new file with mode: 0644]
llvm/test/tools/llvm-profdata/lit.local.cfg [new file with mode: 0644]
llvm/test/tools/llvm-profdata/multiple-inputs.test [moved from llvm/test/tools/llvm-profdata/simple.test with 98% similarity]
llvm/test/tools/llvm-profdata/overflow.profdata [new file with mode: 0644]
llvm/test/tools/llvm-profdata/text-format-errors.test [moved from llvm/test/tools/llvm-profdata/errors.test with 69% similarity]