Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
G
glslang
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • glslang
  • Repository

Switch branch/tag
  • glslang
  • Test
  • baseResults
  • remap.invalid-spirv-2.out
Find file
BlameHistoryPermalink
  • LoopDawg's avatar
    Remapper: make remapper robust against non-exiting error handlers · 8004d365
    LoopDawg authored Sep 17, 2017
    Remapper errors are generally fatal: there has been some unexpected situation while
    parsing the SPV binary, and there is no reasonable way to carry on.  The
    errorHandler() function is called in this case, which by default exits, but
    it is possible to submit a handler which does not.  In that case the remapper would
    carry on in a bad state.
    
    This change ensures a graceful termination of the remap() function.
    
    While a try {} catch {} construct would be the ideal and safe way to do this,
    that's off limits for certain environments, so this tries to do the same thing
    with explicit code, to catch all the bailout paths.
    8004d365
remap.invalid-spirv-2.out 13 Bytes
EditWeb IDE
×

Replace remap.invalid-spirv-2.out

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.