Skip to content
Snippets Groups Projects
Commit 2dd2893d authored by Pekka Jääskeläinen's avatar Pekka Jääskeläinen
Browse files

Made kernel debug info more robust

Tries more hard to ensure that all generated functions have a
DISubprogram since otherwise they will be considered as
(nodebug)-functions by the LLVM codegen.  Also in functions with debug
data,
all calls to inlineable functions had to have !dbg.

SPIR-V LLVM translator wraps the original kernel function to make it
callable from other kernel functions for the entry point (which is
not callable). Since it didn't generate DISubprogram for the new
entry point function, it was considered nodebug. Now debug data
from SPIR-V input works better.
parent e8a34e95
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment