Displaying 2 results from an estimated 2 matches for "dilexicalblockfile".
2015 Apr 18
2
[LLVMdev] RFC: Metadata attachments to function definitions
...ause many of the
> `scope:` chains currently terminate at `MDFile`s or `null` instead of
> `MDCompileUnit`s. Why? Because LTO type uniquing needs scope chains
> to be identical.
>
> Ah, right.
>
> (side note: sometimes need to end in MDFile or we might need an equivalent of DILexicalBlockFile for the CU - to switch files within the same CU (things defined in headers, etc))
Ah, okay. I thought we could just replace them with pointers to the
compile unit. Something like `DIFileScope` with `scope:` and
`file:` fields would probably work? (Which means I shouldn't have
merged the two...
2015 Apr 15
4
[LLVMdev] RFC: Metadata attachments to function definitions
> On 2015 Apr 14, at 21:46, David Blaikie <dblaikie at gmail.com> wrote:
>
> On Tue, Apr 14, 2015 at 9:33 PM, Duncan P. N. Exon Smith
> <dexonsmith at apple.com> wrote:
>>
>> `Function` definitions should support `MDNode` attachments, with a
>> similar syntax to instructions:
>>
>> define void @foo() nounwind !attach !0 {
>>