[llvm-bugs] [Bug 39552] New: Coverage option(--coverage) makes a compile error when the souce-code requires -mcmodel=large.

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Nov 4 18:19:08 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=39552

            Bug ID: 39552
           Summary: Coverage option(--coverage) makes a compile error when
                    the souce-code requires -mcmodel=large.
           Product: compiler-rt
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: ueno.masakazu at jp.fujitsu.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 21081
  --> https://bugs.llvm.org/attachment.cgi?id=21081&action=edit
The log of compile-error and options

The libclang_rt.profile-x86_64.a that is used by --coverage is not available
when the date of user program exceeds 2GB.
When generating this library should I use -mcmodel=large or generate as a
dynamic library?
Are there any problem when use -mcmodel=large or generate/use dynamic library?
(I think the execution performance will be deteriorated if using
-mcmodel=large. Any other problems?)

The attached file contains the log of compile-error and options.

-- 
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/20181105/173a6e70/attachment.html>


More information about the llvm-bugs mailing list