diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-11-13 18:29:32 -0500 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-11-18 17:36:28 -0800 |
| commit | 5abf76fbe37380874a88cc9aa02164800e4e10f3 (patch) | |
| tree | 88c4452263ad661ab0f5908da6ba2bca5c8eff56 /llvm/lib/Object/WasmObjectFile.cpp | |
| parent | 9ad62f62b9ad9852fea17a4c81b35e281e45fbaf (diff) | |
| download | llvm-5abf76fbe37380874a88cc9aa02164800e4e10f3.zip llvm-5abf76fbe37380874a88cc9aa02164800e4e10f3.tar.gz llvm-5abf76fbe37380874a88cc9aa02164800e4e10f3.tar.bz2 | |
ADT: Add assertions to SmallVector::insert, etc., for reference invalidation
2c196bbc6bd897b3dcc1d87a3baac28e1e88df41 asserted that
`SmallVector::push_back` doesn't invalidate the parameter when it needs
to grow. Do the same for `resize`, `append`, `assign`, `insert`, and
`emplace_back`.
Differential Revision: https://reviews.llvm.org/D91744
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
