stage2: finish debug info for unions in the LLVM backend

Sema:

 * queue full resolution of std.builtin.Type.Error when doing `@typeInfo`
   for error sets.

LLVM backend:

 * change a TODO comment to a proper explanation of why debug info
   for structs is left as a fwd decl sometimes.
 * remove handling of packed unions which does not match the type
   information or constant generation code.
 * remove copy+pasted code
 * fix union debug info not matching the memory layout
 * remove unnecessary error checks and type casting
f4a357d720Andrew Kelley committed on 3/28/2022, 11:27:45 PMparentc546608
2 files changedLine totals unavailable