https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121495

--- Comment #4 from Sam James <sjames at gcc dot gnu.org> ---
(gdb) x/i $pc
=> 0xfffff7e513a0 <createSymbols(lld::elf::Ctx&,
llvm::ArrayRef<llvm::SmallVector<lld::elf::GdbIndexSection::NameAttrEntry, 0>
>, llvm::SmallVector<lld::elf::GdbIndexSection::GdbChunk, 0> const&)+376>: st1 
   {v25.d}[1], [x1]

(gdb) p $x1
$4 = 187649985187848

(gdb) p $v25
$5 = {d = {f = {9.271141112393447e-310, 9.2711411123942375e-310}, u =
{187649985187848, 187649985187864}, s = {187649985187848, 187649985187864}}, s
= {f = {-3.22520005e-13,
      6.12227299e-41, -3.22520439e-13, 6.12227299e-41}, u = {2864025608, 43690,
2864025624, 43690}, s = {-1430941688, 43690, -1430941672, 43690}}, h = {bf =
{-2.682e-29, -3.215e-13,
      -3.02e-13, 0, -2.998e-29, -3.215e-13, -3.02e-13, 0}, f = {-0.0004921,
-0.052399, -0.052063, 0, -0.00049973, -0.052399, -0.052063, 0}, u = {36872,
43701, 43690, 0, 36888, 43701,
      43690, 0}, s = {-28664, -21835, -21846, 0, -28648, -21835, -21846, 0}}, b
= {u = {8, 144, 181, 170, 170, 170, 0, 0, 24, 144, 181, 170, 170, 170, 0, 0}, s
= {8, -112, -75, -86,
      -86, -86, 0, 0, 24, -112, -75, -86, -86, -86, 0, 0}}, q = {u =
{3461531252195915383950146949976072}, s =
{3461531252195915383950146949976072}}}

(gdb) p $v25.d
$6 = {f = {9.271141112393447e-310, 9.2711411123942375e-310}, u =
{187649985187848, 187649985187864}, s = {187649985187848, 187649985187864}}

But it all dies with:
auto symbols = std::make_unique<SmallVector<GdbSymbol, 0>[]>(numShards);

I'm not sure if I understand why make_unique would fail.

Reply via email to