title: Understanding the different linkage types of global values in LLVM IR with examples
body: <p>The <a href="http://www.llvm.org/docs/LangRef.html" rel="noreferrer">LLVM IR</a> doc discusses the IR in detail, much of which is clear. However, I get particularly confused with the <a href="http://www.llvm.org/docs/LangRef.html#linkage-types" rel="noreferrer">Linkage Types</a>. The linkage types apart from <code>private</code>, <code>internal</code>, <code>external</code> become quite confusing without an example.</p>
  
  <p>Can someone throw some light here? (Probably relating the use-cases with a language like C/C++?)</p>
  
  <p>(I am trying to understand the IR clearly, since I am building analyzers for the LLVM modules.)</p>