From ebd4e7ba2fff7b4e6197dfef8fca8353bc54649b Mon Sep 17 00:00:00 2001
From: Tanya Lattner The following example illustrates the advantages of LTO's integrated
approach and clean interface. This example requires a system linker which
supports LTO through the interface described in this document. Here,
- llvm-gcc4 transparently invokes system linker.
In this example, the linker recognizes that foo2() is an externally visible symbol defined in LLVM bitcode file. This information