first draft of bitcode support