Commit 8f0da9b
authored
[clang][bytecode] Disable EndLifetime op for array elements (llvm#154119)
This breaks a ton of libc++ tests otherwise, since calling
std::destroy_at will currently end the lifetime of the entire array not
just the given element.
See llvm#1475281 parent 8b52e5a commit 8f0da9b
File tree
3 files changed
+36
-7
lines changed- clang
- lib/AST/ByteCode
- test/AST/ByteCode
3 files changed
+36
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1852 | 1852 | | |
1853 | 1853 | | |
1854 | 1854 | | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| 1858 | + | |
| 1859 | + | |
1855 | 1860 | | |
1856 | 1861 | | |
1857 | 1862 | | |
| |||
1861 | 1866 | | |
1862 | 1867 | | |
1863 | 1868 | | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
1864 | 1874 | | |
1865 | 1875 | | |
1866 | 1876 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1789 | 1789 | | |
1790 | 1790 | | |
1791 | 1791 | | |
| 1792 | + | |
| 1793 | + | |
1792 | 1794 | | |
1793 | 1795 | | |
1794 | | - | |
| 1796 | + | |
1795 | 1797 | | |
1796 | 1798 | | |
1797 | 1799 | | |
| |||
1804 | 1806 | | |
1805 | 1807 | | |
1806 | 1808 | | |
1807 | | - | |
| 1809 | + | |
1808 | 1810 | | |
1809 | 1811 | | |
1810 | | - | |
| 1812 | + | |
1811 | 1813 | | |
1812 | | - | |
| 1814 | + | |
1813 | 1815 | | |
1814 | 1816 | | |
1815 | 1817 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
0 commit comments