[llvm-dev] TableGen assertion mechanism

Paul C. Anagnostopoulos via llvm-dev llvm-dev at lists.llvm.org
Tue Dec 15 09:46:24 PST 2020


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