BitcodeReader non explicit error


I'm working on OpenCL and I'm using clang as compiler (based on clang 3.7.0).
I have a issue, I'm generating a bitcode file (that I can print before before the generation). But when I'm trying to read it again with clang, I have this issue:

"error: Invalid record"

How can I managed to know where it comes from?

Thank you,

Here is what is print before the generation of the bitcode: