[llvm-bugs] [Bug 40328] New: Clang -ftime-report prints some sections twice since 7.0

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 15 23:43:09 PST 2019


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

            Bug ID: 40328
           Summary: Clang -ftime-report prints some sections twice since
                    7.0
           Product: clang
           Version: 7.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: aras at nesnausk.org
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Since clang 7.0.0, some sections of "-ftime-report" are printed twice in the
output. Happens on current trunk too (8.0.0 trunk 351143).

These are printed twice: "Register Allocation", "Instruction Selection and
Scheduling", "DWARF Emission", "... Pass execution timing report ..."

These are printed just once like expected: "Miscellaneous Ungrouped Timers",
"Clang front-end time report".

Repro: look at output in compiler explorer, https://godbolt.org/z/MREMFW --
selecting older Clang versions in the compiler dropdown shows that this started
happening in 7.0.

-- 
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/20190116/3eed1f63/attachment.html>


More information about the llvm-bugs mailing list