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

Support for LLVM 17 #39

Open
Yehh22 opened this issue Sep 26, 2023 · 0 comments
Open

Support for LLVM 17 #39

Yehh22 opened this issue Sep 26, 2023 · 0 comments

Comments

@Yehh22
Copy link

Yehh22 commented Sep 26, 2023

The ollvm14.patch new pass does not support LLVM 17. I'm getting the following errors trying to patch the source

../ollvm14.patch:74: trailing whitespace.
    class BogusControlFlowPass : public PassInfoMixin<BogusControlFlowPass>{
../ollvm14.patch:270: trailing whitespace.
    class FlatteningPass : public PassInfoMixin<FlatteningPass>{
../ollvm14.patch:314: trailing whitespace.
    class SplitBasicBlockPass : public PassInfoMixin<SplitBasicBlockPass>{
../ollvm14.patch:335: trailing whitespace.
      class StringObfuscationPass : public PassInfoMixin<StringObfuscationPass>{
../ollvm14.patch:376: trailing whitespace.
    class SubstitutionPass : public PassInfoMixin<SubstitutionPass>{
error: patch failed: llvm/CMakeLists.txt:246
error: llvm/CMakeLists.txt: patch does not apply
error: patch failed: llvm/CODE_OWNERS.TXT:248
error: llvm/CODE_OWNERS.TXT: patch does not apply
error: patch failed: llvm/lib/Passes/PassBuilder.cpp:244
error: llvm/lib/Passes/PassBuilder.cpp: patch does not apply
error: patch failed: llvm/lib/Passes/PassBuilderPipelines.cpp:182
error: llvm/lib/Passes/PassBuilderPipelines.cpp: patch does not apply

Can you add support for it?

Note: LLVM 17 no longer support legacy pass

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

1 participant