mirror of
https://github.com/obfuscator-llvm/obfuscator
synced 2026-06-08 16:28:34 +00:00
Initial commit of LLVM 3.4
This commit is contained in:
@@ -193,7 +193,8 @@ static bool HandleCallsInBlockInlinedThroughInvoke(BasicBlock *BB,
|
||||
CallInst *CI = dyn_cast<CallInst>(I);
|
||||
|
||||
// If this call cannot unwind, don't convert it to an invoke.
|
||||
if (!CI || CI->doesNotThrow())
|
||||
// Inline asm calls cannot throw.
|
||||
if (!CI || CI->doesNotThrow() || isa<InlineAsm>(CI->getCalledValue()))
|
||||
continue;
|
||||
|
||||
// Convert this function call into an invoke instruction. First, split the
|
||||
|
||||
Reference in New Issue
Block a user