Fix linker warning.
authorErik Verbruggen <erik.verbruggen@digia.com>
Tue, 4 Dec 2012 09:54:32 +0000 (10:54 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Mon, 10 Dec 2012 09:11:46 +0000 (10:11 +0100)
commit7d6a6358f80d7dfe3c8428209f5cd6c6990f73a2
tree6ac80bb247f68bb3b3d56484ff3ce617f2ffb95e
parent5b870e94e855b0f3acdecf08b5467de5f683cf1e
Fix linker warning.

When compiling LLVM with GCC or Clang, the visibility for inline
methods is set to hidden. When linking code compiled without this
flag to LLVM, the system linker will produce warnings like:

ld: warning: direct access in llvm::fdbgs() to global weak symbol llvm::formatted_raw_ostream::~formatted_raw_ostream() means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.

Change-Id: Ia86ff44660d448c8b0673e229137855e56c895f5
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
v4.pro