When build systems place build outputs in temporary directories, build-bom generate-bitcode will place bitcode side-by-side with those outputs. When the build system cleans up temporary directories, the bitcode can be lost.
To fix this, we should add an extra (optional) command line flag to specify a prefix to store bitcode in. The directory structure in the prefix should mirror the real filesystem, for simplicity.
When build systems place build outputs in temporary directories,
build-bom generate-bitcode
will place bitcode side-by-side with those outputs. When the build system cleans up temporary directories, the bitcode can be lost.To fix this, we should add an extra (optional) command line flag to specify a prefix to store bitcode in. The directory structure in the prefix should mirror the real filesystem, for simplicity.