From 71e71dafd629a40b1cc77cba2511960bffcbe9be Mon Sep 17 00:00:00 2001 From: an7s <an7s@git.zephyr-software.com> Date: Fri, 19 Feb 2016 19:57:26 +0000 Subject: [PATCH] Fixed erroneous assert Former-commit-id: 8dfa17f090e2c45a3422bb6bbd2acd4dd793e1b2 --- tools/selective_cfi/scfi_instr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/selective_cfi/scfi_instr.cpp b/tools/selective_cfi/scfi_instr.cpp index 580aef3c4..3b1fe4391 100644 --- a/tools/selective_cfi/scfi_instr.cpp +++ b/tools/selective_cfi/scfi_instr.cpp @@ -420,7 +420,7 @@ void SCFI_Instrument::AddJumpCFI(Instruction_t* insn) string jmpBits=getJumpDataBits(); after->SetDataBits(jmpBits); after->SetComment(insn->getDisassembly()+" ; scfi"); - assert(!do_common_slow_path); /* fixme: this defaults to the slow_cfi path. need to color accordingly */ + assert(do_common_slow_path); /* fixme: this defaults to the slow_cfi path. need to color accordingly */ createNewRelocation(firp,after,"slow_cfi_path",0); after->SetFallthrough(NULL); after->SetTarget(after); -- GitLab