[Mono-bugs] [Bug 640377] New: Cannot do coverage analysis using monocov

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 19 02:08:50 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=640377

https://bugzilla.novell.com/show_bug.cgi?id=640377#c0


           Summary: Cannot do coverage analysis using monocov
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: thiru_mg at yahoo.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer
           Blocker: Yes


Description of Problem:
When performing coverage analysis using monocov, the system emits an error
telling store_mem_imm is missing from the machine description

Steps to reproduce the problem:
1. Do coverage analysis using monocov using --profile=monocov:[assembly]

Actual Results:
As soon as a method is selected for instrumentation, JIT fails.

Expected Results:
The coverage data should be generated.

How often does this happen? 
Always


Additional Information:
The instrumentation added a couple of instructions for counting the number of
times a line of code is executed. One of the instructions is STORE_MEM_IMM
which is supported only in X86 configuration. But later, the JIT seems to
complain that the instruction is not in the machine description. Bypassing the
ifdef (that is, doing what is done for every architectures other than x86)
resolves the problem.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list