The LLVM IR doc discusses the IR in detail, much of which is clear. However, I get particularly confused with the Linkage Types. The linkage types apart from private
, internal
, external
become quite confusing without an example.
Can someone throw some light here? (Probably relating the use-cases with a language like C/C++?)
(I am trying to understand the IR clearly, since I am building analyzers for the LLVM modules.)