Details
Diff Detail
Event Timeline
lib/LTO/ThinLTOCodeGenerator.cpp | ||
---|---|---|
352 | Another issue is that promotion will rename later a global with a name that will different between two different links if the object is not in the same position. The hashing here does not account for this unfortunately. |
lib/LTO/ThinLTOCodeGenerator.cpp | ||
---|---|---|
352 |
For the linkonce optimization, how about compute and hash the set of isFirstDefinitionForLinker entries for this module? That is solely based off of summaries. |
lib/LTO/ThinLTOCodeGenerator.cpp | ||
---|---|---|
183 | To compute the hash for the cache, we iterate over the map, so we need a stable ordering. |
lib/LTO/ThinLTOCodeGenerator.cpp | ||
---|---|---|
183 | Ah, ok. Probably worth a comment. |
Use doxygen style comment "///"