Skip to content
Unverified Commit 85c67b5e authored by Steven Perron's avatar Steven Perron Committed by GitHub
Browse files

Record trailing line dbg instructions (#2926)

There is nothing in the spir-v spec that says the last
instructions in a module cannot be OpLine or OpNoLine.
However, the code that parses the module will simply drop
these instructions.

We add code that will preserve these instructions.

Strip-debug-info is updated to remove these instructions.

Fixes https://crbug.com/1000689.
parent 4075b921
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment