commit | 877083d07a7fbce460f7f083bc1d5deef4d9ed47 | [log] [tgz] |
---|---|---|
author | I-Jui (Ray) Sung <ijsung@google.com> | Fri Mar 03 17:08:16 2017 -0800 |
committer | I-Jui (Ray) Sung <ijsung@google.com> | Mon Mar 06 11:30:00 2017 -0800 |
tree | 3e4a4dc78c95e070d60152de331f8959f090fecf | |
parent | 636006e2ae9e26d856124d2c6da478eec9d779dc [diff] |
Added addString() method to android::spirit::Module MakeString() was in Builder, but Module does not have the counterpart to add an OpString to the Debug Info section. The OpString SPIR-V instruction may be used to carry debugging information and other metadata. This CL also added a test case to verify the result. Bug: 30964317 Test: SPIRIT unit tests (gtest), Change-Id: I5aff827041f5d5e71978a12e366f829d0de819c1