Open wezhousheng opened 8 years ago
Hi and sorry for the long delay.
Just checked my example (make subject
) and the format seems to be fine. The only reason I see: llvm we have (open source version) doesn't support some records from llvm/clang provided by Apple (e.g. some swift specific stuff).
Now that Apple has open sourced LLVM, you might have more luck with llvm-dis from the swift llvm fork.
@praseodym thank you, this is very valid point. I'll take a look
I've used the method you introduced and get files from .xar file. Finally use llvm-dis, but i get such error of llvm-dis: Invalid record. It's may be the wrong format of the bitcode file. Any suggestion?