On 29.05.2013 23:54, Josh Matthews wrote:
On 29 May 2013 17:00, Wojciech Matyjewicz <[email protected] <mailto:[email protected]>> wrote:

    The other benefit is that DIBuilder keeps track of what metadata
    nodes it has generated and reuses the existing nodes instead of
    generating identical ones --- similar functionality from
    debuginfo.rs <http://debuginfo.rs> could be removed then.


I don't think this is quite correct. LLVM merges identical metadata nodes without any outside intervention. The metadata cache in debuginfo.rs <http://debuginfo.rs> is strictly a performance optimization.

Cheers,
Josh

Thanks Wojtek and Vadim!
Josh has already mentioned that wrapping DIBuilder might be a good idea in the future, and I'm starting to think that we should do so better sooner than later.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to