Generate more precise error message when intrinsic signature verification fails. Keep track of the current position/component of the intrinsic signature being checked and print a more descriptive error message which includes the position/element of the signature that failed and the reason it failed. Note that not all cases in `matchIntrinsicType` generate errors, so have a temporary fallback to keep generating a generic error message in those cases. This fallback will be eventually removed. Added a C++ unit test for testing intrinsic struct return type that is either an identified struct or a packed struct, as these cases cannot be created from a .ll file directly (since autoupgrade in the parser fixes them up). |
||
|---|---|---|
| .. | ||
| lit.local.cfg | ||
| wineh-asm.ll | ||
| wineh-asm2.ll | ||
| wineh-cloning.ll | ||
| wineh-comdat.ll | ||
| wineh-demotion.ll | ||
| wineh-dynamic-alloca.ll | ||
| wineh-empty-seh-scope.ll | ||
| wineh-inlined-inalloca.ll | ||
| wineh-intrinsics-invalid.ll | ||
| wineh-intrinsics.ll | ||
| wineh-musttail-call.ll | ||
| wineh-nested-unwind.ll | ||
| wineh-no-demotion.ll | ||
| wineh-noret-cleanup.ll | ||
| wineh-reuse-catch-alloca.ll | ||
| wineh-scope-statenumbering.ll | ||
| wineh-setjmp.ll | ||
| wineh-statenumbering-cleanups.ll | ||
| wineh-statenumbering.ll | ||