[LLVMbugs] [Bug 276] NEW: llvm-g++ does not mangle method names that match stdlib function names
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Mar 9 13:11:11 PST 2004
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=276
Summary: llvm-g++ does not mangle method names that match stdlib
function names
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: llvm-g++
AssignedTo: unassignedbugs at nondot.org
ReportedBy: criswell at uiuc.edu
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.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list