Skip to content

Conversation

@jabraham17
Copy link
Member

@jabraham17 jabraham17 commented Jan 15, 2026

Fixes the debug info for functions and methods. This makes it possible to call Chapel functions and methods on types in the debugger.

Changes

  • Switched the DWARF language from C99 to C++
  • Added special debug info for methods and method receivers
    • also added special logic for handing _retArg
  • Hid the line numbers inserted as _ln and _fn
  • cleanup a bunch of debug info generation for files
  • Add FlagSet to FunctionType::Formal in prep for fixing sret issues

Note: this PR contains tests for #28319 which was split into a separate PR for easier reviewing

Future work: #28320

  • paratest
  • start_test --compopts --no-local test/llvm/debugInfo

@jabraham17 jabraham17 force-pushed the fix-methods-and-functions branch 2 times, most recently from cafbd7f to 49a4059 Compare January 26, 2026 17:12
jabraham17 added a commit that referenced this pull request Jan 26, 2026
Adds a pretty printer for Chapel's list type

Relies on features implemented in
#28318
Tests added in #28318

[Reviewed by @dlongnecke-cray]
@jabraham17 jabraham17 force-pushed the fix-methods-and-functions branch from 28d68fc to 71fcf2a Compare January 28, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant