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
The
ollvm14.patchnew pass does not support LLVM 17. I'm getting the following errors trying to patch the sourceCan you add support for it?
Note: LLVM 17 no longer support legacy pass