Add test coverage for .bc input in the frontend
authorAlp Toker <alp@nuanti.com>
Fri, 27 Jun 2014 02:04:28 +0000 (02:04 +0000)
committerAlp Toker <alp@nuanti.com>
Fri, 27 Jun 2014 02:04:28 +0000 (02:04 +0000)
commit1a5a520d9555680898b6112bf6a601ceb85c300d
treebc732a2382d1a00f64591b09cf0950273bb76928
parentaab3a8f2fb793891f7597e1fdd7edce488530ddd
Add test coverage for .bc input in the frontend

Test that we can consume LLVM bitcode and additionally check that it produces
the same output as a direct compilation.

The feature is crashy and has gone untested until now, but we might as well
provide some coverage as long as it remains in tree.

Also test LL source input in the same way because the existing tests for that
don't look convincing.

llvm-svn: 211844
clang/test/Frontend/ir-support.c [new file with mode: 0644]