Commit ead3739
committed
Inline ASAN poison functions when ASAN is not enabled
The ASAN poison functions was always defined in gc.c, even if ASAN was not
enabled. This made function calls to happen all the time even if ASAN is
not enabled. This commit defines these functions as empty macros when ASAN
is not enabled.1 parent 3071c5d commit ead3739
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4940 | 4940 | | |
4941 | 4941 | | |
4942 | 4942 | | |
| 4943 | + | |
4943 | 4944 | | |
4944 | 4945 | | |
4945 | 4946 | | |
| |||
4960 | 4961 | | |
4961 | 4962 | | |
4962 | 4963 | | |
| 4964 | + | |
4963 | 4965 | | |
4964 | 4966 | | |
4965 | 4967 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
156 | 162 | | |
157 | 163 | | |
158 | 164 | | |
| |||
0 commit comments