We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a6f79a commit 0a92537Copy full SHA for 0a92537
llvm-project/llvm/lib/Passes/Obfuscation/IPObfuscationContext.cpp
@@ -229,7 +229,8 @@ namespace llvm
229
Call->eraseFromParent();
230
}
231
232
- NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList());
+ // NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList());
233
+ NF->splice(NF->begin(), F); // Fix 'getBasicBlockList' is a private member of 'llvm::Function'
234
235
// Loop over the argument list, transferring uses of the old arguments over to
236
// the new arguments, also transferring over the names as well.
0 commit comments