[clang]Test ensuring -fembed-bitcode passed to cc1 captures pre-opt bitcode.
authorMircea Trofin <mtrofin@google.com>
Tue, 22 Sep 2020 20:33:34 +0000 (13:33 -0700)
committerMircea Trofin <mtrofin@google.com>
Wed, 23 Sep 2020 16:35:28 +0000 (09:35 -0700)
commit437358be7179d570de070bbb9b2e1154db727f6d
treed7cc3ef5375f436c78735d5702220af844cf11ad
parentfd75ad86624eaebf21e544335ea28f12e54a5ec1
[clang]Test ensuring -fembed-bitcode passed to cc1 captures pre-opt bitcode.

This is important to not regress because it allows us to capture pre-optimization
bitcode and options, and replay the full optimization pipeline.

Differential Revision: https://reviews.llvm.org/D88114
clang/test/Frontend/embed-bitcode-noopt.c [new file with mode: 0644]
clang/test/Frontend/embed-bitcode-noopt.ll [new file with mode: 0644]