[llvm-bugs] [Bug 37514] New: symbols generated for coverage at mingw show incorrect link attributes
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri May 18 02:17:09 PDT 2018
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: unassignedbugs at nondot.org
Reporter: rkasanmascheff at hotmail.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180518/8abfc651/attachment.html>
More information about the llvm-bugs
mailing list