Commit ef4f44d
authored
Fix MSAN use-after-free in SmallVectorImpl dtor (#6819)
Hit when compiled with `-fsanitize-memory-use-after-dtor`. This was
fixed upstream here:
llvm/llvm-project@527352b
This applies the same patch.1 parent 0777bff commit ef4f44d
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | | - | |
363 | | - | |
| 362 | + | |
364 | 363 | | |
365 | 364 | | |
366 | 365 | | |
| |||
865 | 864 | | |
866 | 865 | | |
867 | 866 | | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
868 | 872 | | |
869 | 873 | | |
870 | 874 | | |
| |||
0 commit comments