linkage type

What is the difference between WeakAnyLinkage and ExternalWeakLinkage
? They are defined in GlobalValue.h. Thanks


There is a description of all the possible linkage types at – does this answer your question? (Basically, an extern_weak resp. ExternalWeakLinkage symbol becomes null instead of being an undefined reference)


Well, I was trying to know what in source gets to be translated to
WeakAnyLinkage or ExternalWeakLinkage.
I recently had a problem related to weak linkage handling in llvm on
WIndows 7. Here is the problem. I have
two files: m.c and foo.c