<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/88920>88920</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
llvm/include/llvm/ADT/ArrayRef.h:169: const T& llvm::ArrayRef<T>::front() const [with T = llvm::Value*]: Assertion `!empty()' failed.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
c++,
crash-on-valid
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
dcb314
</td>
</tr>
</table>
<pre>
From some fedora code compiled today with today's version of clang++,
I get this stack backtrace:
#0 0x0000000001ef02eb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/dcb38/llvm/trunk/llv
m/lib/Support/Unix/Signals.inc:723:22
#1 0x0000000001eed49b llvm::sys::RunSignalHandlers() /home/dcb38/llvm/trunk/llvm/lib/Support/Signals
.cpp:105:20
#2 0x0000000001eed5c5 SignalHandler(int) /home/dcb38/llvm/trunk/llvm/lib/Support/Unix/Signals.inc:41
3:1
#3 0x00007f2ffd25fbb0 __restore_rt (/lib64/libc.so.6+0x3dbb0)
#4 0x00007f2ffd2b0884 __pthread_kill_implementation (/lib64/libc.so.6+0x8e884)
#5 0x00007f2ffd25fafe gsignal (/lib64/libc.so.6+0x3dafe)
#6 0x00007f2ffd24887f abort (/lib64/libc.so.6+0x2687f)
#7 0x00007f2ffd24879b _nl_load_domain.cold (/lib64/libc.so.6+0x2679b)
#8 0x00007f2ffd258187 (/lib64/libc.so.6+0x36187)
#9 0x000000000386dc04 llvm::DebugEpochBase::incrementEpoch() /home/dcb38/llvm/trunk/llvm/include/llv
m/ADT/EpochTracker.h:45:27
#10 0x000000000386dc04 llvm::detail::DenseSetPair<std::pair<llvm::Value*, llvm::Value*>>* llvm::Dense
MapBase<llvm::DenseMap<std::pair<llvm::Value*, llvm::Value*>, llvm::detail::DenseSetEmpty, llvm::Dens
eMapInfo<std::pair<llvm::Value*, llvm::Value*>, void>, llvm::detail::DenseSetPair<std::pair<llvm::Val
ue*, llvm::Value*>>>, std::pair<llvm::Value*, llvm::Value*>, llvm::detail::DenseSetEmpty, llvm::Dense
MapInfo<std::pair<llvm::Value*, llvm::Value*>, void>, llvm::detail::DenseSetPair<std::pair<llvm::Valu
e*, llvm::Value*>>>::InsertIntoBucketImpl<std::pair<llvm::Value*, llvm::Value*>>(std::pair<llvm::Valu
e*, llvm::Value*> const&, std::pair<llvm::Value*, llvm::Value*> const&, llvm::detail::DenseSetPair<st
d::pair<llvm::Value*, llvm::Value*>>*) /home/dcb38/llvm/trunk/llvm/include/llvm/ADT/DenseMap.h:594:19
[audio-688c11.cpp.gz](https://github.com/llvm/llvm-project/files/14999398/audio-688c11.cpp.gz)
[audio-688c11.sh.gz](https://github.com/llvm/llvm-project/files/14999400/audio-688c11.sh.gz)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzMV99v4ygQ_mvIC2qEwT_wQx6cZqPrw0qr3d69RhjGMVdsLMDd7f31J-zmUkdVm72udBdZiT2Gb775GIaJ8F4fe4ANyrYo263EGFrrNkrWLElXtVVPm72zHfa2A9yAsk5gaRVgabtBG1A4WCWe8Hcd2vkW0cLjR3Be2x7bBksj-iOi2-m6RWSHSHWHjxBwaLXHPgj5gGshH4ITEhCr5iHzN0aUEUx-kNMngYZQqLExj10cyyr_5OebL0734VuEu5-QKD8PcuL7wfrgQHSI5ojeYt0HREuM6L61HSC6jyFzRPfTJLoPbuwf5seZSjQaXSO6_zYOg3UB0f3vvf4RDfrYC-PXupeIVQVliFWUniNIlhGASstXI_g69jPUb6JXBpxHlF9L8jV6z7xmIms5DIhVCckiO3JmRy_ZZTLDCx6I8p-Q62qh0mQmEeVKznzYM5-ioU2jaNbUNcGHgwMfrIODC3iSJfrI0_lXrr1d54huyQ-m6pogWp7x0iVeTThP8eEwhNaBUIcHbcxBd4OBDvogQkzbtxxw4DxdOMguCYsG8NFPsb7DVTSwgMqXUCnnRYN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