[llvm-dev] TableGen assertion mechanism
Jan Svoboda via llvm-dev
llvm-dev at lists.llvm.org
Fri Dec 18 07:30:23 PST 2020
Sounds good, thanks for the suggestion, Paul.
I think !substr and assertions are the only things I miss in TableGen.
Cheers,
Jan
> On Dec 15, 2020, at 6:46 PM, Paul C. Anagnostopoulos <paul at windfall.com> wrote:
>
> Oh, it's definitely nasty. But you could use it temporarily while I cook up a real assertion facility. I already had !substr() on my list.
>
> At 12/15/2020 12:36 PM, Jan Svoboda wrote:
>> Yes, I've been thinking about this mechanism.
>>
>> Technically it works, but doesn't provide any context as to which definition and (multi-)class instantiation caused the assertion failure.
>> A proper assertion mechanism could be more helpful in this regard.
>>
>> Anyways, assertions are not essential, but they could be helpful in certain situations.
>
More information about the llvm-dev
mailing list