Displaying 2 results from an estimated 2 matches for "difilescope".
2015 Apr 18
2
[LLVMdev] RFC: Metadata attachments to function definitions
..., 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 types of "file" nodes when I introduced the new
hierarchy. Boo.)
>
> (I have a vague plan for fixing this, too: (1) move
> ownership of Metadata to the Module (so metada...
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 {
>>