View Issue Details

IDProjectCategoryView StatusLast Update
0000011Campy[All Projects] Generalpublic2018-04-04 12:58
ReporteradministratorAssigned Toadministrator 
Status assignedResolutionopen 
Summary0000011: Kernels with more than one basic block do not get correct debugging information
DescriptionConsider Even/Odd sort. In that code, there is an if-statement that performs a swap when two elements are out of order. This is JIT-ed into several basic blocks. Unfortunately, LLVM does not register the debug location entered for code in the block, even though it is tried using LLVM-C. I guess LLVM requires the scope of the LLVM.DIBuilderCreateDebugLocation() call to be a lexical block, but I don't know for sure at this moment. This limits the utility of the debugger.
Steps To ReproduceSet a break point at code before the if-statement, and single step into the if-statement. It doesn't work!
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-04-04 12:58 administrator New Issue
2018-04-04 12:58 administrator Status new => assigned
2018-04-04 12:58 administrator Assigned To => administrator