hanchenye-llvm-project/llvm/lib/Linker
Rafael Espindola c81c3f554c Set the body of a new struct as soon as it is created.
This changes the order in which different types are passed to get, but
one order is not inherently better than the other.

The main motivation is that this simplifies linkDefinedTypeBodies now that
it is only linking "real" opaque types. It is also means that we only have to
call it once and that we don't need getImpl.

A small change in behavior is that we don't copy type names when resolving
opaque types. This is an improvement IMHO, but it can be added back if
desired. A test is included with the new behavior.

llvm-svn: 222764
2014-11-25 15:33:40 +00:00
..
CMakeLists.txt Now that Linker.cpp is almost empty, merge it into LinkModules.cpp. 2013-05-04 03:48:37 +00:00
LLVMBuild.txt
LinkModules.cpp Set the body of a new struct as soon as it is created. 2014-11-25 15:33:40 +00:00
Makefile