phoebewang wrote:

> > Is this fail related to your PR?
> > ```
> > LLVM-Unit :: tools/llvm-cfi-verify/./CFIVerifyTests/2/49
> > ```
> 
> I think so, investigating..

This is an interesting issue. The problem is due to 
https://github.com/llvm/llvm-project/blob/main/llvm/unittests/tools/llvm-cfi-verify/FileAnalysis.cpp#L242,
 which is an illegal encoding. While I switched the `!readModRM(insn) && 
isNF(insn)` to reuse the parser of ModRM. But the parsering or not affects the 
length of the illegal instruction and results the fail parser of the expected 
`0x0f, 0x0b // 28: ud2`, hence the failure.

https://github.com/llvm/llvm-project/pull/101616
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to