[llvm-dev] Not to consolidate two structs with the same data types (but different names) in configure/make tool chain

Peng Yu via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 6 18:55:23 PST 2019


> 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
used.

-- 
Regards,
Peng


More information about the llvm-dev mailing list