Displaying 3 results from an estimated 3 matches for "34b8ea92".
2013 Oct 14
1
[LLVMdev] [Debug Info + LTO] Type Uniquing for C types?
...ctures or unions, corresponding bit-fields shall have the same widths. For two enumerations, corresponding members shall have the same values.
- Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131014/34b8ea92/attachment.html>
2013 Oct 11
0
[LLVMdev] [Debug Info + LTO] Type Uniquing for C types?
>
> Since we don't have ODR, we may have macros defined differently for a struct
> in a .h file,
> thus having two versions of the struct from two different CU. It seems that
> we can't assume
> structs with the same name and defined in the same file/line/column are the
> same.
>
Ah right sorry, I remember this. Also, macros are evil, just ask the
modules guys :)
2013 Oct 11
3
[LLVMdev] [Debug Info + LTO] Type Uniquing for C types?
On Fri, Oct 11, 2013 at 11:48 AM, Eric Christopher <echristo at gmail.com>wrote:
> > 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