[LLVMbugs] [Bug 12059] New: EmitBasicReport() diagnostic messages are not in source file order.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 21 12:57:48 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=12059

             Bug #: 12059
           Summary: EmitBasicReport() diagnostic messages are not in
                    source file order.
           Product: clang
           Version: 3.0
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: philkbase-clang at yahoo.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


I have a checker that outputs diagnostics using EmitBasicReport(). The order in
which the diagnostics are shown is not the same as the order in which they are
created (or in 'source file order') and the ordering changes from run-to-run
with the same input file.

I created a 'for' loop to output a sequence of reports containing a sequence Id
and this shows exactly the same behaviour.

This report has been created in response to a request from Ted Kremenek on the
cfe-dev mailing list.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list