Commit 988d5cb
Address tsan warning in LOAD_GLOBAL lazy import check
Summary:
Address tsan warning by checking lazy import status on validated stack reference `res` instead of raw pointer `res_o`.
ThreadSanitizer: data race buck-out/v2/art/fbsource/third-party/python/3.14/patched/__python-headersFbcode__/4e20ba490b623089/buck-headers/object.h:270 in _Py_TYPE
==================
```
Reviewed By: alexmalyshev, itamaro
Differential Revision: D95939637
fbshipit-source-id: a9b8271d11b76e7856276bbf46b566040415eff71 parent 3b6bed0 commit 988d5cb
2 files changed
Lines changed: 60 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1809 | 1809 | | |
1810 | 1810 | | |
1811 | 1811 | | |
1812 | | - | |
1813 | | - | |
1814 | | - | |
1815 | 1812 | | |
1816 | 1813 | | |
1817 | 1814 | | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
1818 | 1821 | | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
1819 | 1825 | | |
1820 | 1826 | | |
1821 | 1827 | | |
| |||
1831 | 1837 | | |
1832 | 1838 | | |
1833 | 1839 | | |
1834 | | - | |
1835 | | - | |
1836 | | - | |
1837 | 1840 | | |
1838 | 1841 | | |
1839 | 1842 | | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
1840 | 1849 | | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
1841 | 1853 | | |
1842 | 1854 | | |
1843 | 1855 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments