Skip to content
Snippets Groups Projects
Commit 5d303d62 authored by Simon Schuster's avatar Simon Schuster
Browse files

Bugfix: Ignore DBG_VALUEs in the PML-Export

parent 1efa7d68
No related branches found
No related tags found
No related merge requests found
......@@ -49,9 +49,11 @@ namespace llvm {
return Ins->getOpcode() != ARM::PSEUDO_LOOPBOUND
&& Ins->getOpcode() != ARM::IMPLICIT_DEF
&& Ins->getOpcode() != ARM::PSEUDO_PLATINA
&& Ins->getOpcode() != TargetOpcode::CFI_INSTRUCTION;
// As of 20.04.2018: For obscure reasons, the final
// RET instructions are Pseudo instructions. Therefore
&& Ins->getOpcode() != TargetOpcode::CFI_INSTRUCTION
&& Ins->getOpcode() != TargetOpcode::DBG_VALUE;
// As of 20.04.2018: For not so obscure reasons, some special
// opcodes like the far jump of the final RET instructions
// are internally modelled as Pseudo instructions. Therefore
// the following code is dangerous.
// !(Ins->isPseudo() && !Ins->isInlineAsm())
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment