[llvm-dev] Not to consolidate two structs with the same data types (but different names) in configure/make tool chain
Craig Topper via llvm-dev
llvm-dev at lists.llvm.org
Wed Feb 6 19:15:36 PST 2019
LTO has to merge the modules from different translation units. Those
modules very likely have duplicate types in them so LTO merges them to
avoid wasting memory on duplicates.
On Wed, Feb 6, 2019 at 6:55 PM Peng Yu via llvm-dev <llvm-dev at lists.llvm.org>
> > https://llvm.org/docs/LangRef.html#structure-types
> I don't follow the above link. Could you help explain what it means?
> > Fundamentally, llvm is not designed to preserve details about front end
> language features.
> If directly compile .c to .ll can preserve the original struct
> information even they are essentially the same, why flto can not? It
> seems to me that there must be a way to preserve such info if flto is
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev