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: unassignedclangb...@nondot.org
Reporter: di...@google.com
CC: blitzrak...@gmail.com, dgre...@apple.com,
erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs