[llvm-dev] Question about ObjectSizeOffsetVisitor::visitGlobalVariable

Karl Rehm via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 28 23:40:55 PST 2020


In this function (used to check the size of a global) there is an initial
check for whether the initializer to this function is "definitive." My
question is: why do we need this? How does the object's size change if a
global's initializer is defined at link time?

Thanks,
Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200129/82eff886/attachment-0001.html>


More information about the llvm-dev mailing list