Renato Golin
2013-Jun-21 17:33 UTC
[LLVMdev] Proposal: type uniquing of debug info for LTO
On 21 June 2013 18:18, David Blaikie <dblaikie at gmail.com> wrote:> !llvm.hardref.foo.h.myClass = ...; > !llvm.hardref.bar.h.myClass = ...; >I like this idea! It's much easier to read than metadata fields, but will it need to have mangled names that today, are quoted? Do we still have the notion that named metadata cannot be deleted? cheers, --renato -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130621/a2e60f96/attachment.html>
David Blaikie
2013-Jun-21 17:35 UTC
[LLVMdev] Proposal: type uniquing of debug info for LTO
On Fri, Jun 21, 2013 at 10:33 AM, Renato Golin <renato.golin at linaro.org> wrote:> On 21 June 2013 18:18, David Blaikie <dblaikie at gmail.com> wrote: >> >> !llvm.hardref.foo.h.myClass = ...; >> !llvm.hardref.bar.h.myClass = ...; > > > I like this idea! It's much easier to read than metadata fields, but will it > need to have mangled names that today, are quoted?Mangled in some form - using the actual language mangling's probably a good idea, since that's the uniqueness we require anyway (this would help/be necessary for local types in inline functions, etc - chances are we would've had to do that even if we were using the previously discussed string/mdnode pair scheme)> Do we still have the notion that named metadata cannot be deleted?That's the invariant, yes. Named metadata are the roots of the glorious metadata tree from which the debug info fruit grows. Or something.> > cheers, > --renato
Renato Golin
2013-Jun-21 17:44 UTC
[LLVMdev] Proposal: type uniquing of debug info for LTO
On 21 June 2013 18:35, David Blaikie <dblaikie at gmail.com> wrote:> using the actual language mangling's probably a good idea >Yup, sounds good. That's the invariant, yes. Named metadata are the roots of the> glorious metadata tree from which the debug info fruit grows. Or > something. >So, that fits well today, since (from another thread) we generate debug info when really needed, so types should not need to be trimmed. If we ever generate types that later become unnecessary, we could bloat the dwarf table, no? cheers, --renato -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130621/b674867b/attachment.html>
Possibly Parallel Threads
- [LLVMdev] Proposal: type uniquing of debug info for LTO
- [LLVMdev] Proposal: type uniquing of debug info for LTO
- [LLVMdev] Proposal: type uniquing of debug info for LTO
- [LLVMdev] Proposal: type uniquing of debug info for LTO
- [LLVMdev] Proposal: type uniquing of debug info for LTO