Displaying 2 results from an estimated 2 matches for "r266579".
2016 Jul 26
4
'invalid subroutine type ref' when linking custom metadata
With 3.9, llvm-link tells me 'invalid subroutine type ref' when
linking the two code pieces below, and I don't quite understand why.
It looks like it merges the debug information with the custom
metadata. I've filed a ticket already [1] but as I'm not sure if this
is indeed a bug or if I'm misunderstanding something, I thought I'd
ask here.
Any ideas? Thanks,
Robin
2016 Jul 27
1
'invalid subroutine type ref' when linking custom metadata
...mation with the custom
>> metadata. I've filed a ticket already [1] but as I'm not sure if this
>> is indeed a bug or if I'm misunderstanding something, I thought I'd
>> ask here.
>>
>> Any ideas?
>
> This is a bug, and I believe it is caused by r266579.
>
> It seems that:
>
> 1) The module for a.ll is created.
> 2) "!3 = !{void ()* @a}" is a MDTuple, and MDTuple nodes are leaking to the context and survive module deletion.
> 3) "void ()* @a” which is the only element in this MDTuple is a “ConstantAsMetadata”, th...