[llvm-bugs] [Bug 39822] New: [Coverage] clang crashes with 'Assertion SpellingRegion(SM, StartLoc, EndLoc).isInSourceOrder() failed.'
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Nov 28 05:08:16 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=39822
Bug ID: 39822
Summary: [Coverage] clang crashes with 'Assertion
SpellingRegion(SM, StartLoc, EndLoc).isInSourceOrder()
failed.'
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: digit at google.com
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
Created attachment 21170
--> https://bugs.llvm.org/attachment.cgi?id=21170&action=edit
Archive containing the crash backtrace + preprocessed source file + launcher
script
When enabling code coverage instrumentation, compiling a C++ source file makes
Clang crash with an assertion error message that reads as:
"""
clang++: .../llvm/tools/clang/lib/CodeGen/CoverageMappingGen.cpp:789: void
(anonymous
namespace)::CounterCoverageMappingBuilder::fillGapAreaWithCount(clang::SourceLocation,
clang::SourceLocation, llvm::coverage::Counter): Assertion `SpellingRegion(SM,
StartLoc, EndLoc).isInSourceOrder()' failed.
"""
This was detected by a Chromium build bot trying to build a new source file
(see https://crbug.com/908937 for details).
--
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/20181128/67840b96/attachment.html>
More information about the llvm-bugs
mailing list