https://bugs.llvm.org/show_bug.cgi?id=44963
Bug ID: 44963
Summary: How to eliminate unused functions for code coverage
report?
Product: lld
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedb...@nondot.org
Reporter: yuryb...@gmail.com
CC: llvm-bugs@lists.llvm.org, smithp...@googlemail.com
Created attachment 23145
--> https://bugs.llvm.org/attachment.cgi?id=23145&action=edit
Example to reproduce
Hi!
I'm using Clang/LLD v10.0.0-rc2 on Windows to collect code coverage report
(please find attached example).
I need to eliminate all unused functions from produced binary. I use /OPC:REF
linker option for this but it doesn't help if -fprofile-instr-generate compiler
option is used. If I remove -fprofile-instr-generate unused functions are
discarded.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs