Greetings everyone,
I have some code that checks for a number of different attributes
assigned to a particular function parameter via
`llvm::AttrBuilder::hasAttributes`; one of these attributes is the
`byval` attribute. Prior to the addition of type attributes, this
worked fine. Since upgrading to 11, I'm getting an assertion failure.
I think the issue is here:
There is no check for `isTypeAttribute()`. If I add that check to the
if-statement, everything works fine again.
The trouble is I don't know if this is a real bug or if there is a
legitimate reason for omitting this check (and, therefore, I'm doing
something I shouldn't be.)
I was just wondering if I can get a second set (or sets) of eyes for a
confirmation/denial of my suspicions.
- Jon