Add tests for profile sample file parsing.
authorDiego Novillo <dnovillo@google.com>
Mon, 2 Dec 2013 15:12:50 +0000 (15:12 +0000)
committerDiego Novillo <dnovillo@google.com>
Mon, 2 Dec 2013 15:12:50 +0000 (15:12 +0000)
commite40c77d1919fdb02b023086450c53d25927bd135
treea1f211d0edc36db4b958ee0604dfb494017209e4
parentdfb31b6cac83de624653cc23f242f4f807f79768
Add tests for profile sample file parsing.

The profile file parser needed some tests for its parsing actions.
This adds tests for each of the error messages emitted by the parser.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196106 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/SampleProfile/Inputs/bad_fn_header.prof [new file with mode: 0644]
test/Transforms/SampleProfile/Inputs/bad_sample_line.prof [new file with mode: 0644]
test/Transforms/SampleProfile/Inputs/missing_num_syms.prof [new file with mode: 0644]
test/Transforms/SampleProfile/Inputs/missing_samples.prof [new file with mode: 0644]
test/Transforms/SampleProfile/Inputs/missing_symtab.prof [new file with mode: 0644]
test/Transforms/SampleProfile/syntax.ll [new file with mode: 0644]