Commit 322e35a
committed
[Driver][SYCL][NFC] Fix memory sanitizer issue for AOT
When using AOT for GPU, we will setup implied options for PVC targets.
The strings that are formed need to be added to the vector to be
processed later. One of these strings was a StringRef so the pointed to
location can go away. Make a copy of the string to satisfy the
sanitizer.1 parent f9c4aaf commit 322e35a
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1889 | 1889 | | |
1890 | 1890 | | |
1891 | 1891 | | |
1892 | | - | |
1893 | | - | |
| 1892 | + | |
| 1893 | + | |
1894 | 1894 | | |
1895 | 1895 | | |
1896 | 1896 | | |
| |||
0 commit comments