diff options
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2023-10-02 18:30:18 +0800 |
---|---|---|
committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | 2023-10-02 18:31:54 +0800 |
commit | 3f0927368285505ead516ba7572baaa7f52b01a9 (patch) | |
tree | fc12718215f986a0999eef69a59fe4a91de67726 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 7bc09a471fbc274d8632d1379d4134bec63fecc4 (diff) | |
download | llvm-3f0927368285505ead516ba7572baaa7f52b01a9.zip llvm-3f0927368285505ead516ba7572baaa7f52b01a9.tar.gz llvm-3f0927368285505ead516ba7572baaa7f52b01a9.tar.bz2 |
[C++20] [Modules] Fix crash when emitting module inits for duplicated modules
Close https://github.com/llvm/llvm-project/issues/67893
The root cause of the crash is an oversight that we missed the point
that the same module can be imported multiple times. And we should use
`SmallSetVector` instead of `SmallVector` to filter the case.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions