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

Upgrade LLVM to at least version 15 #1521

Open
AndrewQuijano opened this issue Aug 9, 2024 · 4 comments
Open

Upgrade LLVM to at least version 15 #1521

AndrewQuijano opened this issue Aug 9, 2024 · 4 comments

Comments

@AndrewQuijano
Copy link
Collaborator

AndrewQuijano commented Aug 9, 2024

Currently PANDA is running on LLVM-11, but it seems like LLVM now is on version 18. To avoid any excessive technical debt, is there a roadmap to upgrade PANDA to at least LLVM 15? I figure keeping 2-3 versions behind instead of 7 versions behind the latest is probably best practice and more sustainable for maintaining PANDA.

https://releases.llvm.org/

#773

#892

@AndrewQuijano
Copy link
Collaborator Author

AndrewQuijano commented Aug 21, 2024

Based on the LLVM Upgrade PRs I could I please get advice from you @LauraLMann and @MarkMankins on how would much work would be involved in such an upgrade? Would it be possible to get your assistance in the upgrade?

@LauraLMann
Copy link
Collaborator

How much work would be involved depends upon how much implementation details we rely upon changed. The last time I was involved in an LLVM upgrade (to LLVM 11), the problem was the "

.impl" symbol name, which is implementation detail, had changed, and I had to find out what it was in LLVM 11. As of 21 MAY 2024 in the source code repo for LLVM, that symbol name had not changed, so that was promising.

@AndrewQuijano
Copy link
Collaborator Author

AndrewQuijano commented Aug 21, 2024

I see, I'm wondering could you please get a PR to upgrade LLVM in the near future? I should admit, I'm no expert on LLVM, but this ask is coming me having to fix about 5 years of technical debt on LAVA, so I figure might as well use this momentum to get some PANDA upgrades in too. I think once PANDA is upgraded to a later version of LLVM, I can also work on upgrading LAVA again after the LLVM-11 upgrade is in. I am open to help where I can.

panda-re/lava#70

@MarkMankins
Copy link
Collaborator

See #1536 - still needs a lot of work but this is a start.

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

3 participants