Sanitize debug source location tracking for implicit branch and return
This patch tries to attach debug location of a branch/return instruction to its predecessor or the closing brace. If none could be found, no debug info should be emitted.
This commit is contained in:
parent
b1fac200c4
commit
a496a34b43
30 changed files with 4713 additions and 4253 deletions
|
|
@ -58,6 +58,7 @@ gl_FragCoord origin is upper left
|
|||
10: TypeFunction 8(fvec4) 9(ptr)
|
||||
5(main): 3 Function None 4
|
||||
6: Label
|
||||
Line 1 3 0
|
||||
Return
|
||||
FunctionEnd
|
||||
Line 1 2 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue