KhronosGroup / SPIRV-LLVM

This project is no longer active. Please join us at
https://github.com/KhronosGroup/SPIRV-LLVM-Translator
Other
262 stars 60 forks source link

~SPIRVModuleImpl() crashes when delete id entries #223

Closed lifpan closed 7 years ago

lifpan commented 7 years ago

A forwarded entry has 2 duplicate elements in "IdEntryMap", one element is at map slot of old id, and another is at forward id.

bader commented 7 years ago

LGTM. Thanks!

AlexeySotkin commented 7 years ago

LGTM, Thanks!

yxsamliu commented 7 years ago

Good catch. Thanks!