https://bugs.llvm.org/show_bug.cgi?id=42595
Bug ID: 42595
Summary: Assertion `Vars.empty() == VarLocs.empty() && "open
ranges are inconsistent"' fails in LiveDebugValues
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: DebugInfo
Assignee: unassignedb...@nondot.org
Reporter: david.stenb...@ericsson.com
CC: jdevliegh...@apple.com, keith.wal...@arm.com,
llvm-bugs@lists.llvm.org,
paul_robin...@playstation.sony.com
Created attachment 22236
--> https://bugs.llvm.org/attachment.cgi?id=22236&action=edit
C++ reproducer
This assertion was found when trying to compile DAGCombiner.cpp from the
llvm-8.0 release using clang from today's trunk (r365881).
When compiling the attached program using:
$ clang -fsanitize=address -std=c++11 -fno-exceptions -fno-rtti -g -O2 f.cpp
you get the following assertion:
clang-9:
/home/edasten/upstream/monorepo/llvm/lib/CodeGen/LiveDebugValues.cpp:331: bool
{anonymous}::LiveDebugValues::OpenRangesSet::empty() const: Assertion
`Vars.empty() == VarLocs.empty() && "open ranges are inconsistent"' failed.
The program has been reduced with a run of creduce, but it is still a bit
messy, and can probably be made smaller.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs