Displaying 3 results from an estimated 3 matches for "fe4f9f9c".
2013 Oct 11
0
[LLVMdev] [Debug Info + LTO] Type Uniquing for C types?
> With C++'s ODR, we are able to unique C++ types by using type identifiers to
> refer to types.
> Type identifiers are generated by C++ mangler. What about languages without
> ODR? Should we unique C types as well?
>
We can, but the identifier will need to be constructed on, likely, a
language dependent basis to ensure uniqueness.
> One solution for C types is to generate
2013 Oct 11
3
[LLVMdev] [Debug Info + LTO] Type Uniquing for C types?
Hi all,
With C++'s ODR, we are able to unique C++ types by using type identifiers
to refer to types.
Type identifiers are generated by C++ mangler. What about languages without
ODR? Should we unique C types as well?
One solution for C types is to generate a cross-CU unique identifier for C
types. And before linking, we update all type identifiers in a source
module with the corresponding
2013 Oct 11
3
[LLVMdev] [Debug Info + LTO] Type Uniquing for C types?
...MDNodes that affect the
type MDNode, at front end, the AST contains more information and should be
harder to hash.
Thanks,
Manman
>
> -eric
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131011/fe4f9f9c/attachment.html>