https://bugs.llvm.org/show_bug.cgi?id=51394
Bug ID: 51394
Summary: [llvm-profdata] nodeduplicate has been violated!
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Miscellaneous Instrumentation passes
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
After
https://github.com/llvm/llvm-project/commit/c24b7a16b1001a8978335183d958fd0aa482c1d9
we get the error in the subject line with -flto -fprofile-instr-generate:
1.cpp:
__attribute__((weak)) void f(){};
2.cpp:
int main(){}
> clang -flto -fprofile-instr-generate -c 1.cpp -o 1.o
> clang -flto -fprofile-instr-generate -c 2.cpp -o 2.o
> llvm-link -o a.o 1.o 1.o 2.o
error: Linking COMDATs named '__profc__Z1fv': nodeduplicate has been violated!
This is a reduction from a large application (game) from one of our licensees.
Not using LTO works fine.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs