https://bugs.llvm.org/show_bug.cgi?id=37514
Bug ID: 37514
Summary: symbols generated for coverage at mingw show incorrect
link attributes
Product: new-bugs
Version: trunk
Hardware: PC
OS: Windows XP
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: rkasanmasch...@hotmail.com
CC: llvm-bugs@lists.llvm.org
Created attachment 20316
--> https://bugs.llvm.org/attachment.cgi?id=20316&action=edit
sources
Compiled LLVM/CLANG head on a current MSYS2/MINGW64
Compiling an advanced production project failed with
lots of dublicate symbol errors.
For one case I was able to provide an simple example. (code attached)
Its a simplification of the scenario of a header defined inline function.
There are much more scenarios with the same type of errors.
Under my linux system I do not get these errors.
clang++ -fprofile-instr-generate -fcoverage-mapping -o llvmbug.exe cu1.cpp
cu2.cpp
will complain about
__profd__Z7inlfuncv defined in both compilation units.
By the way there are also errors of not defined symbols
lprofGetHostName
__llvm_profile_filename
I just defined them as described in llvm-sources in my original project to
silence them :-)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs