[llvm-bugs] [Bug 50343] New: Assertion failure in absence of -isysroot ...
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri May 14 10:17:49 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50343
Bug ID: 50343
Summary: Assertion failure in absence of -isysroot ...
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: jacques.legare70 at gmail.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
The following program
#include <map>
triggers an assert failure when compiled without -isysroot, as in
$ /Volumes/Data/llvm-project-12.0.0/bld/bin/clang++ stuff.cpp
`/Volumes/Data/llvm-project-12.0.0/bld/bin/llvm-config --cxxflags`
yielding
Assertion failed: (!CodeSynthesisContexts.empty() && "Cannot perform an
instantiation without some context on the " "instantiation stack"), function
SubstType, file
/Volumes/Data/llvm-project-12.0.0/llvm-project-12.0.0.src/clang/lib/Sema/SemaTemplateInstantiate.cpp,
line 2071.
--
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/20210514/9a7c8acf/attachment.html>
More information about the llvm-bugs
mailing list