OSDN Git Service

[spirv] Use owning module ref to avoid leaks and fix ASAN tests
authorLei Zhang <antiagainst@google.com>
Thu, 16 Jul 2020 20:05:51 +0000 (16:05 -0400)
committerLei Zhang <antiagainst@google.com>
Thu, 16 Jul 2020 21:30:59 +0000 (17:30 -0400)
commit2dd9e43579b341e5de238de924cc910042b0194e
tree269a96fb2b62cd57135480375252d7d7ac037d04
parentcc1b9b680f890962cbc3e1eec32a352c3c20849e
[spirv] Use owning module ref to avoid leaks and fix ASAN tests

Differential Revision: https://reviews.llvm.org/D83982
mlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp
mlir/unittests/Dialect/SPIRV/SerializationTest.cpp