Skip to content

Should debuginfo special-case vectors? #129448

Open

Description

@scottmcm

In #129403 I'm seeing that using array-based SIMD types changes the debug info you get from them, and thus #128866 has in fact already changed the debuginfo you get from platform types like __m256.

 // gdb-command:print vi8x16
-// gdb-check:$1 = simd::i8x16 (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
+// gdb-check:$1 = simd::i8x16 ([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15])

Should debug-info notice the Vector ABI and emit something that doesn't get double-braced? Or does it not matter and the ([1, 2]) is completely fine so it's not worth changing?

Activity

  1. added
    needs-triage
    on Aug 23, 2024
  2. added
    A-debuginfo
    WG-debugging
    on Aug 23, 2024
  3. added
    T-compiler
    and removed
    needs-triage
    on Sep 7, 2024
  4. added
    C-discussion
    on Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuginfoC-discussionT-compilerWG-debugging

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions