'What is the path of the bitcode file generated by clang CompileJobAction, and from which part of the source code can you see it?

I have been reading llvm clang related materials and source code in recent days. I want to do some processing on bitcode. I tried to process the bitcode exported in mach-o, but there was an error when I finally linked it. So I think CompileJobAction in clang can compile bitcode (o-bitcode), I want to process this o-bitcode, generate a new n-bitcode and replace it. But I don't quite understand where is the bitcode path generated by CompileJobAction? Thanks for any help.

c++


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source