Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llvm-dis: Invalid record #3

Open
wezhousheng opened this issue Oct 29, 2015 · 4 comments
Open

llvm-dis: Invalid record #3

wezhousheng opened this issue Oct 29, 2015 · 4 comments

Comments

@wezhousheng
Copy link

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?

@AlexDenisov
Copy link
Owner

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).

@praseodym
Copy link

Now that Apple has open sourced LLVM, you might have more luck with llvm-dis from the swift llvm fork.

@AlexDenisov
Copy link
Owner

@praseodym thank you, this is very valid point. I'll take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@praseodym @AlexDenisov @wezhousheng and others