forked from OSchip/llvm-project
ba4c8b5004
It is possible for a global to be substituted with another global of a different type or a different kind (i.e. an alias) at IR link time. One example of this scenario is when a Microsoft ABI vtable is substituted with an alias referring to a larger vtable containing an RTTI reference. This will cause the global to be RAUW'd with a possibly bitcasted reference to the other global. This will of course also affect any references to the global in bitset metadata. The right way to handle such metadata is simply to ignore it. This is sound because the linked module should contain another copy of the bitset entries as applied to the new global. llvm-svn: 240866 |
||
---|---|---|
.. | ||
constant.ll | ||
layout.ll | ||
nonglobal.ll | ||
simple.ll | ||
single-offset.ll | ||
unnamed.ll |