Displaying 1 result from an estimated 1 matches for "hascommonlinkag".
Did you mean:
hascommonlinkage
2009 Jun 21
4
[LLVMdev] proposal to simplify isel/asmprinter interaction with globals
...global variables need
// non-lazily-resolved stubs
if (GV->isDeclaration() || GV->isWeakForLinker()) {
// Dynamically-resolved functions need a stub for the function.
if (GV->hasHiddenVisibility()) {
if (!GV->isDeclaration() && !GV->hasCommonLinkage())
...
else {
printSuffixedName(Name, "$non_lazy_ptr");
}
} else {
printSuffixedName(Name, "$non_lazy_ptr");
}
where shouldPrintStub is:
static inline bool shouldPrintStub(TargetMachine &TM, const
X86S...