Swift metadata formats


(Dmitry Shevchenko) #1

Hello,

Is there a tool or format description for .swiftmodule and .swiftdoc files generated by the compiler?

Thanks.


(Joe Groff) #2

Both formats are based on LLVM's bitcode infrastructure. Tools from the LLVM suite like llvm-bcanalyzer can be used to analyze the files.

-Joe

ยทยทยท

On Jan 19, 2016, at 2:53 PM, Dmitry Shevchenko via swift-users <swift-users@swift.org> wrote:

Hello,

Is there a tool or format description for .swiftmodule and .swiftdoc files generated by the compiler?