[llvm-bugs] [Bug 31726] New: When compiling a file with >= 202 gtest test cases, clang-cl dies with Assertion `(NumGaps == 0 || Bias < MaxDefRange) && "large ranges should not have gaps"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 23 13:34:56 PST 2017


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

            Bug ID: 31726
           Summary: When compiling a file with >= 202 gtest test cases,
                    clang-cl dies with  Assertion `(NumGaps == 0 || Bias <
                    MaxDefRange) && "large ranges should not have gaps"'
                    failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Repro coming; it's not very small though. (But fairly regular.) Reduced from
https://bugs.chromium.org/p/chromium/issues/detail?id=680947

If the CodeLocation() ctor is changed to take const char* instead of
std::string, then the crash goes away, and the file builds like twice as fast.

-- 
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/20170123/bbd022ca/attachment.html>


More information about the llvm-bugs mailing list