Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DebugInfo] Add Target Function optional parameter to DebugFunction #1853

Merged
merged 3 commits into from
Feb 23, 2023

Conversation

MrSidims
Copy link
Contributor

@MrSidims MrSidims commented Feb 22, 2023

It's being added in
KhronosGroup/SPIRV-Registry#186

In DWARF it's used in 'trampoline' functions generated for Fortran external function calls.

It's being added in
KhronosGroup/SPIRV-Registry#186

In DWARF it's used in 'trampoline' functions generated for
external function calls.

Signed-off-by: Sidorov, Dmitry <[email protected]>
@MrSidims
Copy link
Contributor Author

@vmaksimo please take a look

DIS = Builder.createFunction(Scope, Name, LinkageName, File, LineNo, Ty,
ScopeLine, Flags, SPFlags, TParamsArray, FD);
ScopeLine, Flags, SPFlags, TParamsArray, FD,
nullptr, nullptr, TargetFunction);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe would be nice to left comments about what nullptr means

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I'll add it!

Copy link
Contributor Author

@MrSidims MrSidims Feb 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added, but please don't ask me, what these parameters mean :D

lib/SPIRV/LLVMToSPIRVDbgTran.cpp Outdated Show resolved Hide resolved
Signed-off-by: Sidorov, Dmitry <[email protected]>
@MrSidims MrSidims requested a review from vmaksimo February 22, 2023 18:52
Signed-off-by: Sidorov, Dmitry <[email protected]>
@MrSidims MrSidims merged commit 02d37bb into KhronosGroup:main Feb 23, 2023
stanleygambarin pushed a commit to stanleygambarin/SPIRV-LLVM-Translator that referenced this pull request Mar 30, 2023
… DebugFunction (KhronosGroup#1853)

It's being added in
KhronosGroup/SPIRV-Registry#186

In DWARF it's used in 'trampoline' functions generated for Fortran external function calls.
stanleygambarin pushed a commit to stanleygambarin/SPIRV-LLVM-Translator that referenced this pull request Mar 30, 2023
… DebugFunction (KhronosGroup#1853)

It's being added in
KhronosGroup/SPIRV-Registry#186

In DWARF it's used in 'trampoline' functions generated for Fortran external function calls.
MrSidims added a commit that referenced this pull request Mar 31, 2023
… DebugFunction (#1853)

It's being added in
KhronosGroup/SPIRV-Registry#186

In DWARF it's used in 'trampoline' functions generated for Fortran external function calls.
MrSidims added a commit that referenced this pull request Apr 3, 2023
… DebugFunction (#1853)

It's being added in
KhronosGroup/SPIRV-Registry#186

In DWARF it's used in 'trampoline' functions generated for Fortran external function calls.
mateuszchudyk pushed a commit to mateuszchudyk/SPIRV-LLVM-Translator that referenced this pull request May 10, 2023
… DebugFunction (KhronosGroup#1853)

It's being added in
KhronosGroup/SPIRV-Registry#186

In DWARF it's used in 'trampoline' functions generated for Fortran external function calls.
mateuszchudyk pushed a commit to mateuszchudyk/SPIRV-LLVM-Translator that referenced this pull request Sep 29, 2023
… DebugFunction (KhronosGroup#1853)

It's being added in
KhronosGroup/SPIRV-Registry#186

In DWARF it's used in 'trampoline' functions generated for Fortran external function calls.
MrSidims added a commit that referenced this pull request Oct 5, 2023
… DebugFunction (#1853)

It's being added in
KhronosGroup/SPIRV-Registry#186

In DWARF it's used in 'trampoline' functions generated for Fortran external function calls.
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.

2 participants