<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/95739>95739</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[MC/DC][llvm-cov] Branch not found in Decisions
</td>
</tr>
<tr>
<th>Labels</th>
<td>
tools:llvm-cov
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
whentojump
</td>
</tr>
</table>
<pre>
Example reduced from https://github.com/git/git/blob/v2.39.2/builtin/merge-tree.c#L228
```c
#include <sys/stat.h>
struct name_entry {
int mode ;
};
#define ENTRY_OID(d) S_ISDIR(d->mode) && 0
struct name_entry *e;
int main() { ENTRY_OID(e); }
```
Compiler explorer [link](https://godbolt.org/#g:!((g:!((g:!((h:codeEditor,i:(filename:'1',fontScale:14,fontUsePx:'0',j:1,lang:c%2B%2B,selection:(endColumn:29,endLineNumber:11,positionColumn:29,positionLineNumber:11,selectionStartColumn:1,selectionStartLineNumber:1,startColumn:1,startLineNumber:1),source:'%23include+%3Csys/stat.h%3E%0A%0Astruct+name_entry+%7B%0A++++int+mode+%3B%0A%7D%3B%0A%0A%23define+ENTRY_OID(d)+S_ISDIR(d-%3Emode)+%26%26+0%0A%0Astruct+name_entry+*e%3B%0A%0Aint+main()+%7B+ENTRY_OID(e)%3B+%7D'),l:'5',n:'1',o:'C%2B%2B+source+%231',t:'0')),k:50,l:'4',n:'0',o:'',s:0,t:'0'),(g:!((g:!((h:compiler,i:(compiler:clang_assertions_trunk,filters:(b:'0',binary:'1',binaryObject:'1',commentOnly:'0',debugCalls:'1',demangle:'0',directives:'0',execute:'1',intel:'0',libraryCode:'1',trim:'1',verboseDemangling:'0'),flagsViewOpen:'1',fontScale:14,fontUsePx:'0',j:1,lang:c%2B%2B,libs:!(),options:'-fprofile-instr-generate+-fcoverage-mapping+-fcoverage-mcdc',overrides:!(),selection:(endColumn:1,endLineNumber:1,positionColumn:1,positionLineNumber:1,selectionStartColumn:1,selectionStartLineNumber:1,startColumn:1,startLineNumber:1),source:1),l:'5',n:'0',o:'+x86-64+clang+(assertions+trunk)+(Editor+%231)',t:'0')),k:50,l:'4',m:50,n:'0',o:'',s:0,t:'0'),(g:!((h:tool,i:(args:'--show-mcdc',argsPanelShown:'0',compilerName:'x86-64+clang+(assertions+trunk)',editorid:1,fontScale:14,fontUsePx:'0',j:1,monacoEditorHasBeenAutoOpened:'1',monacoEditorOpen:'1',monacoStdin:'1',stdin:'',stdinPanelShown:'1',toolId:llvm-covtrunk,treeid:0,wrap:'1'),l:'5',n:'0',o:'llvm-cov+(clang-only)+x86-64+clang+(assertions+trunk)+(Editor+%231,+Compiler+%231)',t:'0')),header:(),l:'4',m:50,n:'0',o:'',s:0,t:'0')),k:50,l:'3',n:'0',o:'',t:'0')),l:'2',n:'0',o:'',t:'0')),version:4)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8V99v46oS_mvIi5XIxnGcPOQhdhrdSnu3q-29RzpPFYaxwy4GC3Da_vdHgJ3EaffXOasjRbQMwzfD8H1jmxjDGwmwRVmBsv2M9Pao9Pb5CNKqL33bzSrFXrd3L6TtBEQaWE-BRbVWbXS0tjMo3SF8QPjQcHvsqwVVbZicx0qoCuHDCS_SzQI7Q8-F5RLhQwu6gbnVAAuKcPoB4zWK9yjeDeMqDj86zHHKJRU9gwilpXk1CB-MJXZxROnd9UZjdU9tJEkLTyCtfo1QXoSlKIoiLm3UKo8yWFG-v_w_xmJQcwnR3cf_ff7z6eF-j_CaIbyJHp_uH_f3n910jtI7h-TMCK8QXkXxDxLBO7gJ5dMhriBrj5MXk5gOHKVF5HKcluUapFRtxwXoCF46oTToCGWF4PIryhzIzV0pVilhF0o33pA2finxGay_PTmidEcVgzvGrdIIl9yvrmsuwJ3Rz_IE4RzhslbSPlIinDVZDob_G_j0Etzi4PbFLSNcCiJdLIpwhothKA0IoJYrGeKAZKUSfeumeINwCZJ94BI-9m0F2gE5pE4Z7vZMX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