Extended Description
llvm-g++ does not properly mangle methods that have a name matching one of the C
library functions that might get turned into an LLVM intrinsic.
The attached C code and output LLVM code shows that typical methods get mangled.
However, methods named "strlen" or "memset" do not get mangled properly.
This causes problems with LLVM linking C++ programs, as these methods will get
their types (incorrectly) merged with the function types from the standard C
library.