| 202 | using StripDebugInfoTest = PassTest<::testing::TestWithParam<const char*>>; |
| 203 | |
| 204 | TEST_P(StripDebugInfoTest, Kind) { |
| 205 | std::vector<const char*> text = { |
| 206 | "OpCapability Shader", |
| 207 | "OpMemoryModel Logical GLSL450", |
| 208 | GetParam(), |
| 209 | }; |
| 210 | SinglePassRunAndCheck<StripDebugInfoPass>(JoinAllInsts(text), |
| 211 | JoinNonDebugInsts(text), |
| 212 | /* skip_nop = */ false); |
| 213 | } |
| 214 | |
| 215 | // Test each possible non-line debug instruction. |
| 216 | // clang-format off |
nothing calls this directly
no test coverage detected