llvm-project/clang/test/SemaSYCL
Erich Keane cb66bf2c6d Replace 'magic static' with a member variable for SCYL kernel names
I discovered when merging the __builtin_sycl_unique_stable_name into my
downstream that it is actually possible for the cc1 invocation to have
more than 1 Sema instance, if you pass it multiple input files, each
gets its own Sema instance and thus ASTContext instance.  The result was
that the call to Filter the SYCL kernels was using an
ItaniumMangleContext stored via a 'magic static', so it had an invalid
reference to ASTContext when processing the 2nd failure.

The failure is unfortunately flakey/transient, but the test that fails
was added anyway.

The magic-static was switched to a unique_ptr member variable in
ASTContext that is initialized when needed.
2021-05-27 13:46:31 -07:00
..
address-space-conversions.cpp [SYCL] Enable `opencl_global_[host,device]` attributes for SYCL 2021-05-18 10:27:35 +03:00
float128.cpp [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
int128.cpp [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
kernel-attribute-on-non-sycl.cpp
kernel-attribute.cpp [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
prohibit-thread-local.cpp [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
unique-stable-name-multiple-target-crash.cpp Replace 'magic static' with a member variable for SCYL kernel names 2021-05-27 13:46:31 -07:00
unique_stable_name.cpp Reimplement __builtin_unique_stable_name- 2021-05-27 07:12:20 -07:00